11.08.2012, 18:51
(
Последний раз редактировалось Akcent_Voltaj; 11.08.2012 в 20:14.
)
i need help this spams the chat!
This is the problem
PHP код:
public ScheduledRespawn(){
new bool:unwanted[CAR_AMOUNT];
for(new i=0; i<MAX_PLAYERS; i++)
{
SendClientMessage(i,COLOR_YELLOW,"• Toate masinile au fost respawnate ! •");
for(new player=0; player<MAX_PLAYERS; player++)
{
if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }
}
for(new car = 1; car <= 400; car++)
{
if(!unwanted[car]) SetVehicleToRespawn(car);
}
}
}
PHP код:
"• Toate masinile au fost respawnate ! •