29.06.2012, 04:25
pawn Код:
new InRace[MAX_PLAYERS] = 0;
//Now whenever player enters a race
InRace[playerid] = 1;
//And after Exit
InRace[playerid] = 0;
pawn Код:
if(InRace[playerid] == 0) return RepairVehicle(GetPlayerVehicleId(playerid));