Jump to content
  • 0

Register Problem.



Salut, am o alta problema acum.

Am pus Gamemode-ul pe host dar, când intri pe server nu te poti înregistra, scrii parola dar, degeaba.

MySQLCreateAccount :

[pawn]public MySQLCreateAccount(newplayersname[], newpassword[], playerid)


new query[128];

new sqlplyname[64];

new sqlpassword[64];

mysql_real_escape_string(newplayersname, sqlplyname);

mysql_real_escape_string(newpassword, sqlpassword);

format(query, sizeof(query), "INSERT INTO players (Name, Password) VALUES ('%s', '%s')", sqlplyname, sqlpassword);


Registerr[playerid] = 2;

print("[MySQL]: Un nou cont a fost creat in baza de date!(..)01");


print("[MySQL]: Un nou cont a fost creat in baza de date!(..)02");


new newplayersid = MySQLCheckAccount(newplayersname);

if (newplayersid != 0)


return newplayersid;


return 0;


Alte detalii nu stiu sa va dau, daca este nevoie, scrieti si va dau toate detaliile necesare. Multumesc.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

This topic is now closed to further replies.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.