03.02.2013, 17:58
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){
if(IsPlayerInAnyVehicle(playerid)){
if((vehicleid >= CarrosAdm[0]) && (vehicleid <= CarrosAdm[5])){
if((PlayerDados[playerid][Admin] < 1)){
RemovePlayerFromVehicle(playerid);
Msg(playerid, CINZA, "Vocк precisa ser admin para usar este Veiculo.");
}
}
}
return true;
}