SA-MP Forums Archive
Bug SA-MP 0.3.7 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Bug SA-MP 0.3.7 (/showthread.php?tid=572833)



Bug SA-MP 0.3.7 - Salva2000 - 02.05.2015

Good Morning,
when i update my include (a_samp etc..) to 0.3.7, the gamemode becomes larger than before and the TextDraws is not showing. How can i fix? (Sorry for bad english,i'm italian)


Re: Bug SA-MP 0.3.7 - HazardouS - 02.05.2015

The gamemode's size becomes larger because of the MAX_PLAYERS define or some other define that sets your arrays sizes in your gamemode. My guess is that you had a lower players limit in the previous version, so a lower gamemode size. Regarding the textdraws, check how they get created and try to debug it. Probably you're accessing some invalid index when you create them.


Re: Bug SA-MP 0.3.7 - Salva2000 - 02.05.2015

On 0.3z it works fine..


Re: Bug SA-MP 0.3.7 - Salva2000 - 02.05.2015

Resolved. I have changed in a_samp.inc
Код:
#define MAX_PLAYERS								(1000)
in
Код:
#define MAX_PLAYERS								(500)