SA-MP Forums Archive
Help - 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: Help (/showthread.php?tid=347010)



Help - Chris1337 - 30.05.2012

Anyone Know how to link a FS to a Gamemode

I mean , my gamemode and my admin system ..... as I need to link the anticheat of my fs , The money cant save on pCash in one as same as other

Is there a way like

#include ADMINSYS </direction>?


Re: Help - Edward156 - 31.05.2012

No you cannot include a filter script into a game mode (well you can but you would have to import everything from your filter script into your gamemode). If your anti-cheat has a .inc file, you can just add this at the top of game mode.

pawn Код:
#include <Anti-Cheat>



Re: Help - SuperViper - 31.05.2012

Use SetPVarInt and GetPVarInt. They work cross-script.


Respuesta: Help - Chris1337 - 31.05.2012

Thanks Both

Edward . For Telling me that to create better the .inc

REPPED

SuperViper

Same , i will use it thanks
REPPED


Re: Help - Edward156 - 31.05.2012

No problem axxelac, glad I can help!