12.03.2011, 15:55
(
Последний раз редактировалось [WF]Demon; 12.03.2011 в 15:55.
Причина: forgot [/pawn] :|
)
pawn Код:
command(flip, playerid, params[])
{
#pragma unused params
if(Player[playerid][AdminLevel] >= 3)
{
new
currentveh,
Float:angle;
currentveh = GetPlayerVehicleID(playerid);
GetVehicleZAngle(currentveh, angle);
SetVehicleZAngle(currentveh, angle);
SendClientMessage(playerid, WHITE, "Your vehicle has been flipped.");
}
else
{
SendClientMessage(playerid, RED, "You must be level 3+ To use this!");
}
return 1;
}