SA-MP Forums Archive
how to solve it ? - 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 solve it ? (/showthread.php?tid=497345)



how to solve it ? - Shirley - 26.02.2014

i have a mysql script it didn't give me any error/warning in compile even when i start the server mysql.log doesn't give me error, but when i enter game and register an account and /q i login again i type the password but it reset the acc to the tutorial everytime like this what to do?
__________________


Re: how to solve it ? - Lloyde - 26.02.2014

Quote:
Originally Posted by Shirley
Посмотреть сообщение
i have a mysql script it didn't give me any error/warning in compile even when i start the server mysql.log doesn't give me error, but when i enter game and register an account and /q i login again i type the password but it reset the acc to the tutorial everytime like this what to do?
__________________
Download the mysql.dll and place it in plugins

_______________
Give me some Reputation Sir


Re: how to solve it ? - Shirley - 27.02.2014

Quote:
Originally Posted by Lloyde
Посмотреть сообщение
Download the mysql.dll and place it in plugins

_______________
Give me some Reputation Sir
it is


Re: how to solve it ? - Lidor124 - 27.02.2014

Maybe set a variable like:

Quote:

PlayerInfo[playerid][pRegistered]

Then write it on your mysql where you write all the data of player account then, on your mysql codes check with 'if' the player is registered.