Q: Scripting practice
#2

Quote:
Originally Posted by Uberanwar
Посмотреть сообщение
Hey everyone!
I was wondering if I make some includes, such as cmds.inc which contains the commands of the script, stocks would have its include too. Is that a good practice?
I believe it is. I do this all the time to keep track of everything. I haven't run into any trouble because of that yet.

I hate when you enter a gamemode and /everything/ is in the same file.

My includes:
pawn Код:
#include <a_samp>
#include <a_mysql>
#include <timec>
#include <streamer>
#include <strreplace>
#include <foreach>
#include <proxdetector>
#include <whirlpool>
#include <mysqlsettings>
#include <sscanf2>
#include <zcmd>
#include <colors>
#include <playerinfo>
#include <factioninfo>
#include <buildinginfo>
#include <vehicleinfo>
#include <weaponinfo>
#include <stocks>
#include <dialogs>
#include <loginquery>
#include <admincommands>
#include <playercommands>
#include <factioncommands>
#include <buildingcommands>
#include <mapping>
#include <crashdetect>
#include <anticheat>
#include <hitbox>
#include <actors>
Reply


Messages In This Thread
Q: Scripting practice - by Uberanwar - 02.04.2016, 13:53
Re: Q: Scripting practice - by introzen - 02.04.2016, 13:55
Re: Q: Scripting practice - by AndySedeyn - 02.04.2016, 14:49
Re: Q: Scripting practice - by Vince - 02.04.2016, 16:29
Re: Q: Scripting practice - by Floriian - 02.04.2016, 16:34

Forum Jump:


Users browsing this thread: 1 Guest(s)