17.02.2009, 01:26
coded in reply box
of course that would always set it to model 451 and doesn't do any checks, but it is an example.
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
new vid, Float:x, Float:y, Float:z, model;
vid = GetPlayerVehicleID(playerid);
GetVehiclePos(vid, x, y, z)
DestroyVehicle(vid)
vid = CreateVehicle(451, x, y, z, -1, -1, 60000)//is that right?
PutPlayerInVehicle(playerid, vid, 0);
}

