Quote:
Originally Posted by cessil
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate) { if(newstate == PLAYER_STATE_DRIVER) { SetPVarInt(playerid,"vehicleid",GetPlayerVehicleID(playerid)); } if(oldstate == PLAYER_STATE_DRIVER) { //now you have them exiting the car as a driver and the last vehicle ID } }
|
So I'll have to save every player's vehicleid..
Thanks!