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



vip donation - absolute - 06.05.2013

hey everyone
i need some help . i wanna make my servers vip system automatic. so when players order the vip account online from my website, it sets the player vip automatically... how is it possible to do that?


Re: vip donation - FunnyBear - 06.05.2013

You need a MySQL database, and you need to know the basics of php/html/mysql. Then create a new line in the player database, so when a player donates it will set the value of the vip to 1. And when they connect to the server, check if the value == 1 then make them a vip.


Re: vip donation - carlvidal8 - 06.05.2013

Yes, what he said was right, I don't know if there's other way, but MySQL will fix your request.


Re: vip donation - absolute - 06.05.2013

oh thanks ill try it


Re: vip donation - Yashas - 06.05.2013

Its not at all difficult if you are using MySQL.Just have a variable VIP.After player is a VIP then set that variable.
In your script OnPlayerConnect, get the column and check if the player is VIP then enable.


Re: vip donation - absolute - 06.05.2013

oh does this work if i use luxadmin as the vip system?