Quote:
Originally Posted by PT
ai tens a funcao que verifica
pawn Код:
stock IsVehicleOccupied(vehicleid) // Returns 1 if there is anyone in the vehicle { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerInAnyVehicle(i)) { if(GetPlayerVehicleID(i)==vehicleid) return 1; } } return 0; }
|
Obrigado man, mas como faзo pra colocar ela pra verificar os veiculos ->> Carro[random(20) ?