14.07.2012, 09:10
Hi, Is there any limit of this funtion ? In my script I have 1115 "RemoveBuildingForPlayer" On my server and when I connect computer clogged :/
Sry for bad eng
Sry for bad eng
public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(playerid....
//Finish at about the 800th one.
SetTimerEx("RemoveBuildings", 5000, false, "i", playerid);
return 1;
}
forward RemoveBuildings(playerid);
public RemoveBuildings(playerid)
{
RemoveBuildingForPlayer(playerid....
//Add 601st - Final RemoveBuildingForPlayer here.
return 1;
}