31.01.2019, 16:36
Quote:
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { for(new c = 0; c <= 14; c++) { if(IsPlayerInVehicle(playerid, CarroJornal[c]) && Player[playerid][pProf] != 2) { SendClientMessage(playerid, CorErro, "|ERRO| Esse veiculo й exclusivo dos Entregadores de Jornal!"); RemovePlayerFromVehicle(playerid); return 1; } } return false; } |