SA-MP Forums Archive
Is activated or not. - 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: Is activated or not. (/showthread.php?tid=302905)



Is activated or not. - vent - 11.12.2011

Well, i have an problem here. Again.
I need an system, what checks my MySQL is my account activated or not. If not, then it will kick you. I have an variable pAktiveeritud and row in database too.
Here is the code:
pawn Код:
CODE REMOVED! ;>



Re: Is activated or not. - Scenario - 11.12.2011

Do you have a different table for non-activated accounts? Or is there a variable in your normal table such as "AccLocked"?


Re: Is activated or not. - vent - 11.12.2011

No i dont.

Now i have to add two tables?
First one - Linked
Second one - NotLinked


Re: Is activated or not. - Scenario - 11.12.2011

Tell me this: What exactly are you trying to do?


Re: Is activated or not. - vent - 11.12.2011

First you register an account at UCP. Then the administrator will have to accept it or decline it. If administrator accepts it, the player can play.