20.09.2010, 04:08
podes hacer algo asi:
pawn Код:
if(strcmp(cmdtext, "/comando", true) == 0){
if(!IsPlayerInVehicle(playerid))return SetPlayerPos(playerid, 0.0, 0.0, 0.0);
else return SetVehiclePos(GetPlayerVehicleID(playerid), 0.0, 0.0, 0.0);
}