SA-MP Forums Archive
.PWN .AMX - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: .PWN .AMX (/showthread.php?tid=222130)



.PWN .AMX - Jimbo01 - 06.02.2011

My pwn is now 0.98mb and amx 1,01mb

If i put a object streamer (F_Streamer) i just include it and replace orignal function with that and my amx file gets 2,18mb and pwn stays the same... is that normal ?


Re: .PWN .AMX - [03]Garsino - 06.02.2011

The .pwn is just plain text hence why the compiled .amx will be greater in size.


Re: .PWN .AMX - Ivan_Pantovic - 06.02.2011

I think it is, you shouldn't worry, streamers need some space .
PS. .amx is made of .pwn + all of the includes you added, so the .pwn size won't change much if you include 100000 includes, but .amx will.


Re: .PWN .AMX - Jimbo01 - 06.02.2011

hmm the include is 21kb


Re: .PWN .AMX - Krx17 - 06.02.2011

It's how the amx is compiled. When you compile your pwn file, if it has any includes, it will compile those and insert those into the final amx file.