22.02.2014, 15:55
If you want to delete the object you've created for all players, use a for
PHP код:
for(new p = 0; p < MAX_PLAYERS; p++)
{
DestroyObject(trap[p]);
if(!IsValidObject(trap[p])) return print("All traps destroyed !");
else return DestroyObject(trap[p]);
}