Posts: 18
Threads: 11
Joined: Oct 2012
Reputation:
0
I have made a gamemode from scratch. Its almost finished. Its a MySQL based gamemode. But the thing is that when we compile it, it takes almost 20 seconds to get compiled and also the .amx file is almost 7 MB in size. it consist of almost 25k lines. So i wannna know whether these huge size of .amx file and 25k lines make this gamemode laggy?? Please help
Posts: 201
Threads: 16
Joined: Mar 2013
It wont make a gamemode laggy it dont matter how big the script is but it does take a long time to compile a gamemode if its big so my answer it wont lag any servers
Posts: 151
Threads: 24
Joined: Apr 2013
Just wait and compile.. probably there is alot of createdynamicobjects.. so ig will be alittle laggy
Posts: 6
Threads: 2
Joined: Mar 2013
Reputation:
0
Allocating memory space for your variables cause amx size to be bigger than expected.
Try to use SA:MP PlayerVars.
Lag issue, Try to avoid using OnPlayerUpdate, millisecond timer interval as much as you can.
Posts: 105
Threads: 10
Joined: Apr 2013
Reputation:
0
Are you sure you compiled the currect file ?
Please compile it ( full - wait for finished )
Posts: 105
Threads: 10
Joined: Apr 2013
Reputation:
0
When you compile the .pwn file did you got any error ?
Posts: 6
Threads: 0
Joined: Mar 2013
Reputation:
0
Just wait and compile.. probably there is alot of createdynamicobjects.. so in game will be laggy.