07.02.2019, 13:43
Eae mano. da p fazer um loop assim:
PHP код:
new bool:unwanted[MAX_VEHICLES];
for(new player=0; player<MaiorID; player++)
{
if(unwanted[GetPlayerVehicleID(player)]=true; }
}
for(new car = 1; car <= MAX_VEHICLES; car++)
{
if(!unwanted[car]) SetVehicleToRespawn(car);
}