Posts: 773
Threads: 309
Joined: Aug 2011
Reputation:
0
Hey guys if i would create a rob system and i will put it as a include in pawno/includes then i will add it to my gamemode #include <name of the include> it will be a problem ? or it will be like in gamemode , i will have lag/crash ?
Posts: 851
Threads: 33
Joined: Jul 2016
Reputation:
0
I believe you can't put commands in the include, If you want to make it as an include you may just make the functions, but the cmds should be made in game, And put it in the buttom of your includes.
Posts: 851
Threads: 33
Joined: Jul 2016
Reputation:
0
If you meant to make it like include <%s.pwn> then it will work perfectly, I thought that you were speaking about a .inc file, I don't know if it is possible to add commands in a .inc file, But i guess no..
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
You should try compiling with the -l (lowercase L) option once to see for yourself how that shit works. This option only runs the pre-processor and the result you get is what normally gets fed to the actual compiler. Everything that gets included gets compiled into one amx. You NEVER need to upload a raw source file to a live server.