10.09.2012, 09:14
He wants a flip command?what can he explain more..
OT - Here you go
gimme a rep?
OT - Here you go
pawn Код:
CMD:flip(playerid, params[])
{ if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,-1,"You must be in a vehicle.");
{
new vehicle;
new Float:zangle;
vehicle = GetPlayerVehicleID(playerid);
GetVehicleZAngle(vehicle,zangle);
SetVehicleZAngle(vehicle,zangle);
SendClientMessage(playerid,color,"Vehicle succesfully flipped.");
}
return 1;
}