20.06.2013, 17:30
tira o segundo parentes aqui (carid == 606))
pawn Code:
stock ResetarCarros() //Creditos: thegarfield
{
static bool:inVeh;
new carid;
for(new i; i < MAX_VEHICLES; i++ )
{
carid=GetVehicleModel(i);
inVeh = false;
for(new j; j < GetMaxPlayers(); j++ )
{
if((carid >= 435) || (carid == 450) || (carid == 584) || (carid == 591) || (carid == 606) && (carid <= 611)){
if(IsPlayerInVehicle( j, i )){
inVeh = true;
}
}
}
if(!inVeh) SetVehicleToRespawn(i);
}
}