Quote:
| 
					Originally Posted by RealCop228  Could you make a loop through all object models and then run this on a 50-100ms interval? Something like this, maybe? 
pawn Code: for(new model = 0; model < sizeof(objectModelArray); model++){
 defer removeBuildingsOnInterval(playerid, model);
 }
 
 timer removeBuildingsOnInterval[100](playerid, model) return RemoveBuildingForPlayer(playerid, model, 0.0, 0.0, 0.0, 9999.9999);
 | 
 I tried to use your code, but when I added my object array it gives some errors (I never used y_timers before :$)
Code:
error 017: undefined symbol "removeBuildingsOnInterval_yT@"
error 029: invalid expression, assumed zero
error 017: undefined symbol "removeBuildingsOnInterval_yT@"
error 001: expected token: ";", but found "return"
fatal error 107: too many error messages on one line
 The error lines is the code you posted (with my sizeof(allObjects) thingie)
Quote:
| 
					Originally Posted by Sithis  Won't work i believe, there's a limit on how many RemoveBuildingForPlayer you can do, a 1000 i believe. | 
 Hmm, you could be right, but I haven't found any page describing a limit for it yet