24.08.2010, 04:57
pawn Код:
if(strcmp(cmd, "/flip", true) == 0)
{
new Float:X, Float:Y, Float:Z;
if(IsPlayerInAnyVehicle(playerid))
SetCameraBehindPlayer(playerid);
GetPlayerPos(playerid, X, Y, Z);
SetVehiclePos(GetPlayerVehicleID(playerid), X, Y, Z);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 0);
return 1;
}