Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Password resets to "NoPassword" in MySQL

$
0
0
Hello, Today I have made my GM script to set an update when the player disconnect the server.
but when you disconnect to the server password resets to " ".

Here is the code:

PHP Code:

format(string,sizeof,(string),"UPDATE users SET Name = '%s' , Password = '%s'",Name,PlayerInfo[playerid][password]); 

I think that when I login it doesn't save my password to the one that I used in enum.
please help me fix this.

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>