Includes to Script?
#1

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?
Reply
#2

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>
Reply
#3

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?
Reply
#4

I think he means that a "real" scripter should check out the script.
Reply
#5

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)