How can i make an include?
#8

I do not understand whats that hard about includes.
Just imagine them to be a part of your main code, just externalized into another file. To define the include as one, you mostly use the same "header", you can use the first lines of a_samp.inc or so.
Then all you have to do, is to add the code you like. This can be stocks, publics, timers.... On compile, the compilers just handles them, as if they were in the same file with the normal script.
Reply


Messages In This Thread
How can i make an include? - by CSMajor - 31.10.2010, 19:10
Re: How can i make an include? - by Hiddos - 31.10.2010, 19:17
Re: How can i make an include? - by CSMajor - 31.10.2010, 23:35
Re: How can i make an include? - by Saurik - 31.10.2010, 23:37
Re: How can i make an include? - by The_Moddler - 31.10.2010, 23:45
Re: How can i make an include? - by MBX97 - 01.11.2010, 00:02
Re: How can i make an include? - by CSMajor - 01.11.2010, 00:02
Re: How can i make an include? - by Mauzen - 01.11.2010, 00:21
Re: How can i make an include? - by (SF)Noobanatior - 01.11.2010, 06:10
Re: How can i make an include? - by Las Venturas CNR - 01.11.2010, 06:31

Forum Jump:


Users browsing this thread: 1 Guest(s)