Includes to Script? - 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: Includes to Script? (
/showthread.php?tid=107047)
Includes to Script? -
acade - 07.11.2009
Hello,
I've been given access to my script which is being coded from scratch. The scripter left and he's given me the script telling to get another scripter to do it.
The only problem is, the script is in Includes.
Does anyone know to script like this?
Is it just like a .pwn and add the include at the top of the file?
Re: Includes to Script? -
Anwix - 07.11.2009
use
Код:
#include <INCLUDE_NAME>
at the top of your script with #include <a_samp>, also make sure the includes are in the /pawno/includes folder.
Say the include was called properties.inc you would add #include <properties>
Re: Includes to Script? -
acade - 08.11.2009
Ok thanks,
He said a scripter has to configure the script aswell which made me think, does this mean add the mysql details or what?
Re: Includes to Script? -
Benne - 08.11.2009
I think he means that a "real" scripter should check out the script.
Re: Includes to Script? -
V1ceC1ty - 08.11.2009
you need to know the basics of scripting before you go editing a pre-made script
check out these links
https://sampwiki.blast.hk/wiki/PAWN_tutorial
https://sampwiki.blast.hk/wiki/Scripting_Basics
https://sampwiki.blast.hk/wiki/Category:Scripting_Functions
https://sampwiki.blast.hk/wiki/Category:Scripting_Callbacks