26.10.2013, 10:13
Код:
public OnPlayerStateChange(playerid, newstate, oldstate) { if (newstate==PLAYER_STATE_DRIVER) { new vehID=GetPlayerVehicleID(playerid); if (vehID==420) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOUR_GRAY, "You must be a taxi driver to use this car."); } } return 1; }