SA-MP Forums Archive
About Includes - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: About Includes (/showthread.php?tid=193168)



About Includes - ExEx - 25.11.2010

Can somebody explain what are includes?
How to use ?

Does this i correct ?
at top on script
#include <z_angles>

YES- ITS Correct


but this

at the top i delete #include <z_angles>

and copy all stock from include in my GM

I try this and it work
but its correctly ??


Re: About Includes - Cameltoe - 25.11.2010

Quote:
Originally Posted by ExEx
Посмотреть сообщение
Can somebody explain what are includes?
How to use ?

Does this i correct ?
at top on script
#include <z_angles>

YES- ITS Correct


but this

at the top i delete #include <z_angles>

and copy all stock from include in my GM

I try this and it work
but its correctly ??
Why can't you just keep the include? x)


Re: About Includes - Slice - 25.11.2010

It's basically reading PAWN code from different files.
Removing your includes and copying the code into your gamemode is just stupid; it would get hard to browse the code eventually.


Re: About Includes - ExEx - 25.11.2010

thanks ******