SA-MP Forums Archive
help me - 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: help me (/showthread.php?tid=633518)



help me - JuzDoiT - 02.05.2017

hello i made Deathmatch Script , 13k Lines .. but amx file is 12mb .. and server is on lag how do i fix it ?

My using Include
Quote:

#include <a_samp>
#include <izcmd>
#include <sscanf2>
#include <streamer>
#include <YSI\y_ini>
#include "../include/gl_common.inc"

My using Plugins
Quote:

sscanf - Streamer




Re: help me - sampkinq - 02.05.2017

Hello, #include <YSI\y_ini> you can reduce size by removing amx.

I'm sorry for my bad English.


Re: help me - AndreiWow - 02.05.2017

Don't use big variables like

string[2048];


Re: help me - JuzDoiT - 02.05.2017

hey dude can i remove the string 2048?




Re: help me - Toroi - 02.05.2017

Calculate how many characters will you insert into that string and adjust its size correspondingly (plus one)