Jump to content
  • 0

Problema /flip


AnonymMaker

Question

Nick: AnonymMaker

Problema: Am si eu o mica problema....As vrea sa fac comanda /flip, dar nu stiu cum. Cand zic /flip ma refer la acea comanda care iti iontoarce masina daca este rasturnata. Sper sa ma poata ajuta cineva. Multumesc anticipat.

Erori / warnings: ----

Lini/script: ----

Ai incercat sa rezolvi singur ?: Da, dar nu stiu cum sa fac.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

CMD:flip(playerid, params[])

{

if(IsPlayerInAnyVehicle(playerid))

{

new currentveh;

new Float:angle;

currentveh = GetPlayerVehicleID(playerid);

GetVehicleZAngle(currentveh, angle);

SetVehicleZAngle(currentveh, angle);

SendClientMessage(playerid, 0xFF0000FF, "Autovehiculul tau a fost intoars.");

return 1;

}

else

{

SendClientMessage(playerid, 0xFF0000FF, "Nu te afli intr-un autovehicul!");

return 1;

}

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.