SA-MP Forums Archive
Sorry I'm new But I want to know the Answer - 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)
+--- Thread: Sorry I'm new But I want to know the Answer (/showthread.php?tid=333679)



Sorry I'm new But I want to know the Answer - Andrew97 - 12.04.2012

I'm very New for Script and I'm Learning throught SAMP wiki and I want to know what is?

Quote:

#include

and what is?
Quote:

#include <a_samp>




Re: Sorry I'm new But I want to know the Answer - Cjgogo - 12.04.2012

It addes a library to your compiler/gamemode so you can use certain functions,basically <a_samp> include/library provides you with all basic functions,like SetPlayerHealth,SetVehicleHealth,etc.


Re: Sorry I'm new But I want to know the Answer - Shabi RoxX - 12.04.2012

#include as name define is include a files into your script from /pawno/include :

and a_samp is a include file with all samp functions like : SetPlayerSkin(); etc :

pawn Код:
#include <a_samp>
//now you have all included a_samp

//same

#include <a_file>//this can be any file you want to include(add) into your script from /pawno/include



Re: Sorry I'm new But I want to know the Answer - Andrew97 - 12.04.2012

Thank you guys Very much I +1 Rep for you both!