06.07.2014, 18:52
Hello
Quick question. I've talked to numerous people about this, but it seems people aren't quite sure. So hopefully someone high up or with actual knowledge of SA:MPs internals can answer. Is there any limit placed upon RemoveBuildingForPlayer?
I ask because I have noticed the following;
A) Removing more than 1000 rapidly results in a crash of the client, usually.
B) Lets say script #1 deletes 300 objects, the next deletes 500 and the next another 300. Eventually RemoveBuildingForPlayer stops working, and the buildings remain. This is loading maps on-the-fly loading and unloading, not using GMX. (I am trying to avoid GMX)
Can anyone tell me for sure if these are script errors, or limitations placed upon the function by SA:MP?
Thanks for your time!
Quick question. I've talked to numerous people about this, but it seems people aren't quite sure. So hopefully someone high up or with actual knowledge of SA:MPs internals can answer. Is there any limit placed upon RemoveBuildingForPlayer?
I ask because I have noticed the following;
A) Removing more than 1000 rapidly results in a crash of the client, usually.
B) Lets say script #1 deletes 300 objects, the next deletes 500 and the next another 300. Eventually RemoveBuildingForPlayer stops working, and the buildings remain. This is loading maps on-the-fly loading and unloading, not using GMX. (I am trying to avoid GMX)
Can anyone tell me for sure if these are script errors, or limitations placed upon the function by SA:MP?
Thanks for your time!