10.09.2012, 09:14
pawn Код:
COMMAND:flip(playerid, params[]) {
if(IsPlayerInAnyVehicle(playerid))
{
new
currentveh,
Float:angle;
currentveh = GetPlayerVehicleID(playerid);
GetVehicleZAngle(currentveh, angle);
SetVehicleZAngle(currentveh, angle);
SendClientMessage(playerid, -1, "Your vehicle has been flipped.");
RepairVehicle(currentveh);
return true;
}
else
{
SendClientMessage(playerid, -1, "You Must Be Driving A Vehicle To Use This Command.");
return true;}
}