10.10.2012, 03:24
Simple example
pawn Код:
//OnPlayerEnterVehicle
if(vehicleid == CAR_SPAWNED) // you need to save the id of the spawned car
{
if(!IsPlayerAdmin(playerid))
{
new VBPos[3];
GetPlayerPos(playerid,VBPos[0],VBPos[1],VBPos[2]);
SetPlayerPos(playerid,VBPos[0],VBPos[1],VBPos[2]);
}
}