08.01.2013, 18:32
No, I mean like this:
pawn Код:
// Command
new Float:x, Float:y, Float:z;
GetPlayerPos(ID, x, y, z);
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) SetVehiclePos(GetPlayerVehicleID(playerid), x+3, y, z);
else SetPlayerPos(playerid, x+2, y, z); // On foot.