27.07.2012, 10:20
Hello i have really big problem with this f****n mysql INI
ROWS IN THIS TABLE:0
Returns This user must login!
2.Ok so lets imaginate i have made my registter/login system and i want to load the money of the player
How i can save it in some string ?!?!?!
Код:
new Query[256],pName[MAX_PLAYER_NAME]; GetPlayerName(playerid,pName,24); format(Query,sizeof(Query),"SELECT * `users` WHERE username = %s LIMIT 1",pName); mysql_query(Query); if(mysql_num_rows() == 0){ print("This user must Register"); }else{ print("This user must login"); }
Returns This user must login!
2.Ok so lets imaginate i have made my registter/login system and i want to load the money of the player
How i can save it in some string ?!?!?!