28.03.2014, 20:48
(
Последний раз редактировалось Battlezone; 28.03.2014 в 21:29.
Причина: Solved
)
I was adding some codes and modifying my new gamemode today, and since its small and light, it gets compiled fast and the .amx size didnt bypass the 100kb
Then i added this checkpoints streamer include, https://sampforum.blast.hk/showthread.php?tid=41978, and coded over 40 line of a test checkpoint with it.
When i compiled, it really took long time, i thought that my pc was slow but when i recompiled again and again it was always taking long time, so i checked the amx size and it got me surprised; 2.686 mb.
Can you guys check that include and help me identify the source of the problem in it?
Solution: inthe include max_checkpoints are set to 1024 so it will decrease memory usage.
Thus you have to decrease it to the max checkpoints number you will use in your script.
Then i added this checkpoints streamer include, https://sampforum.blast.hk/showthread.php?tid=41978, and coded over 40 line of a test checkpoint with it.
When i compiled, it really took long time, i thought that my pc was slow but when i recompiled again and again it was always taking long time, so i checked the amx size and it got me surprised; 2.686 mb.
Can you guys check that include and help me identify the source of the problem in it?
Solution: inthe include max_checkpoints are set to 1024 so it will decrease memory usage.
Thus you have to decrease it to the max checkpoints number you will use in your script.