Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MySQLCheckConnection();
- new playername3[MAX_PLAYER_NAME];
- GetPlayerName(playerid, playername3, sizeof(playername3));
- new query[128];
- print("Creating an account in the database ...");
- PlayerInfo[playerid][pKey] = password[20];
- strmid(PlayerInfo[playerid][pKey], password, 0, strlen(password), 255);
- format(query,sizeof(query),"INSERT INTO players (id,Name,Password) VALUES ('','%s','%s')",playername3,password);
- mysql_query(query);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement