11.02.2010, 18:16
I think doing
would do the trick. NOTE: UNTESTED!!!
pawn Код:
public OnPlayerCommandText(playerid,cmdtext)
{
if(strcmp(/flip,cmdtext,true) == 0)
{
new Float:X, Float:Y, Float:Z;
new vehicleid = GetPlaverVehicleID(playerid);
GetVehiclePos(vehicleid,X,Y,Z);
SetVehiclePos(vehicleid,X,Y,Z);
SendClientMessage(playerid, /*insert colour here*/, "You have flipped your vehicle");
return 1;
}
return 1;
}