Last vehicle id ?
#1

How to get player last vehicle id ?
Reply
#2

Код:
new LastVehID[MAX_PLAYERS];
public OnPlayerStateChange(playerid,oldstate,newstate)
{
	if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
	{
		LastVehID[playerid] = GetPlayerVehicleID(playerid);
	}
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)