08.03.2011, 11:57
No need for spam in the script.
I suggest you to use this:
Example:
I suggest you to use this:
pawn Код:
SetPlayerPosVeh(playerid,Float:x,Float:y,Float:z,interior)
{
new VehicleID = GetPlayerVehicleID(playerid);
new gState= GetPlayerState(playerid);
SetPlayerInterior(playerid,interior);
if(gState== PLAYER_STATE_DRIVER) return SetVehiclePos(VehicleID,x,y,z);
SetPlayerPos(playerid,x,y,z);
return 1;
}
pawn Код:
SetPlayerPosVeh(playerid,x,y,z,interior);
pawn Код:
SetPlayerPosVeh(playerid,2779.6001,-2010.7078,13.5547,/*interior*/0)