SetPlayerCheckpoint to Vehicle
#2

Try it:

Search OnPlayerEnterVehicle and add this:

Код:
lastveh[playerid]=vehicleid;
And add this variable to gamemode or sistem

Код:
lastveh[MAX_PLAYERS];
Finally only add in command or funnction this script:
Код:
new Float: x, Float:y, Float:z;
GetVehiclePos(lastveh[playerid], x, y, z);
SetPlayerCheckpoint(playerid, x, y, z, 5);
Note: Sorry for me english but i only help in spanish version >.<
Reply


Messages In This Thread
SetPlayerCheckpoint to Vehicle - by Greaper - 03.11.2014, 19:17
Respuesta: SetPlayerCheckpoint to Vehicle - by Tusso4 - 03.11.2014, 19:54

Forum Jump:


Users browsing this thread: 3 Guest(s)