18.08.2009, 17:22
Heeey! Not, not true ! This FS have a problem !
If this player not in any veichle, FS can't apply "SetVehiclePos(araba, 420.2640,2521.1553,16.4844);" code and an error! ?
This codes should be as:
I will edit and publish true version pawno in this topic.
I can't speakt english better. Sorry =)
If this player not in any veichle, FS can't apply "SetVehiclePos(araba, 420.2640,2521.1553,16.4844);" code and an error! ?
This codes should be as:
Код:
if(IsPlayerInAnyVehicle(playerid)) { new arac = GetPlayerVehicleID(playerid); SetVehiclePos(arac,x,y,z); SetPlayerPos(playerid,x,y,z); PutPlayerInVehicle(playerid,arac,0); }else{ SetPlayerPos(playerid,x,y,z); }
I can't speakt english better. Sorry =)