Jump to content
  • 0

Am o problema cu Nitro


me_jupanul

Question

Deci,am o problema cu nitro.Sa zicem ca ma plimb cu unu cu masina

avem masini separate

si el apasa click pt nitro si eu vad masina lui luand foc si dupa explodand,dar el nu vede ca a explodat sau a luat foc,el vede masina neatinsa,si se intampla si invers,el imi vede masina ca ia foc cand dau clik,eu nu vad nimica,iar ala vede ca masina mea a luat foc si a explodat.

Va rog sa ma ajutati:D

Nu stiu daca e de la Click'u careil fac sau de la nitro

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

La OnPlayerKeyStateChange

Trebuie sa fie asa

if(newkeys & KEY_SUBMISSION && IsPlayerInAnyVehicle(playerid))

{

if(!IsNosVehicle (GetPlayerVehicleID(playerid))) return SendClientMessage(playerid, 0xFF0000AA, "Nu poti adauga nitro la acest vehicul");

AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);

PlayerPlaySound(playerid, 1133 ,0, 0, 0);

}

// Check if the player is in any vehicle and is the driver

if (IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)

{

lol

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.