07.03.2010, 14:51
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER)
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == aquiponeselmodelodeltanke && GetPlayerScore(playerid) < 100)
{
RemovePlayerFromVehicle(playerid);
}
}
return 1;
}