10.08.2014, 03:59
Dб uma testada aн
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
new vehicleid;
if(oldstate == PLAYER_STATE_DRIVER)
{
if(!(Carro[0] < vehicleid < Carro[7])){
if(Profissao[playerid] != Profissao[playerid]){
SendClientMessage(playerid, Chat, "[ > ] Vocк nгo tem permissгo para usar esse carro");
RemovePlayerFromVehicle(playerid);
}
}
}
return 1;
}