SA-MP Forums Archive
How to link them? - 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: How to link them? (/showthread.php?tid=353924)



How to link them? - Saurik - 25.06.2012

Hello.

I have a few gamemodes for my server that basically contain the map and some commands. Since there are a few GMs i decided to put the SQL, the admin system and the account info into a single FS. The issue is that I want to have different VIP features for each gm but i don't know how to link it to the filter script that has the account information.
(Example: The gm has to check if the player is VIP or not).

What can i do?


Re: How to link them? - Tee - 25.06.2012

What's your method of saving?
Edit: You can check if the player is a VIP via the filterscript (the gamemode doesn't have to do it)


Re: How to link them? - Saurik - 25.06.2012

mysql for everyting.


Re: How to link them? - Tee - 25.06.2012

Maybe I misunderstood you. Please explain the problem once more.


Respuesta: How to link them? - Chris1337 - 25.06.2012

maybe a pvar to check wich gamemode are you on and determine the vip features getting the pvar


Re: How to link them? - Saurik - 25.06.2012

I just made global variables.