27.12.2010, 06:33
PLAYER_STATE_ENTER_VEHICLE_DRIVER or PLAYER_STATE_ENTER_VEHICLE_PASSENGER or PLAYER_STATE_EXIT_VEHICLE this is? what is it used? I do not understand an example please thanks in advance
if(GetPlayerState(playerid) == PLAYER_STATE_ENTER_VEHICLE_DRIVER)
{
print("Player enters vehicle as driver");
}
//alternatively you can use
OnPlayerEnterVehicle(playerid,vehicleid,ispassenger)
//and
OnPlayerExitVehicle(playerid,vehicleid,ispassenger)