12.06.2018, 10:05
Quote:
Now the brackets where the password is meant to be are blank.Not even numbers.
|
Change the code to:
PHP код:
new pass = PlayerInfo[playerid][pPassword];
printf("pass = %s, enum pPassword = %s", pass, PlayerInfo[playerid][pPassword]);
format(string,sizeof(string),"Your account has been successfully created.Password(%s)",pass); \\When they register it shows random numbers and sometimes only "0".
SendClientMessage(playerid,COLOR_YELLOW,string);