- 0
Ce nu e in regula cu asta?
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
florin
[pawn]if(strcmp(cmdtext, "/flip", true) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
new currentveh;
new Float:angle;
currentveh = GetPlayerVehicleID(playerid);
GetVehicleZAngle(currentveh, angle);
SetVehicleZAngle(currentveh, angle);
SendClientMessage(playerid, 0xFFFFFFFF, "Your vehicle has been flipped.");
return 1;
}
else
{
SendClientMessage(playerid, 0xFFFFFFFF, "You are not in any vehicle!");
return 1;
}
}
return 0;
}
[/pawn]
Vreau sa pun comanda /flip si cand compilez imi da don't send ce nu e bine la comanda asta ca nu imi dau seama?
wde [We Drift Everywhere] clan!
Link to comment
Share on other sites
5 answers to this question
Recommended Posts