29.08.2012, 09:45
Well, im trying to make regular registration system into dialogs and got this in Ondialogrespond
It compile with out errors, but IG, OnPlayerRegister works and saves all the variables, but it doesnt save the password, OnPlayerDatasave dunno what's that, also i can login with any password
pawn Код:
OnPlayerRegister(playerid, tmp);
SendClientMessage(playerid, COLOR_WHITE, "[HINT]: Type (/login <password>) to log in.");
SetPVarInt(playerid, "PlayerAccount", 1);
strmid(PlayerInfo[playerid][pPassword], tmp, 0, strlen(inputtext), 255);
OnPlayerDataSave(playerid);