13.10.2009, 10:53
Not sure but i think you have a warning on this line:
PlayerInfo[playerid][pPassword] = inputtext[playerid];
In the version of PAWN that SA-MP uses, you can't copy an array into another by using "=". Use another way, such as format.
When compiling, this line basically transform into:
PlayerInfo[playerid][pPassword][0] = inputtext[playerid][0]; hence why you have only the first letter saved in the file.
PlayerInfo[playerid][pPassword] = inputtext[playerid];
In the version of PAWN that SA-MP uses, you can't copy an array into another by using "=". Use another way, such as format.
When compiling, this line basically transform into:
PlayerInfo[playerid][pPassword][0] = inputtext[playerid][0]; hence why you have only the first letter saved in the file.