First alphabet of the password only
#2

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.
Reply


Messages In This Thread
First alphabet of the password only - by Peter_Corneile - 13.10.2009, 08:21
Re: First alphabet of the password only - by yom - 13.10.2009, 10:53
Re: First alphabet of the password only - by woot - 13.10.2009, 12:12
Re: First alphabet of the password only - by Peter_Corneile - 13.10.2009, 14:03
Re: First alphabet of the password only - by Peter_Corneile - 13.10.2009, 14:06
Re: First alphabet of the password only - by dice7 - 13.10.2009, 14:41
Re: First alphabet of the password only - by Peter_Corneile - 13.10.2009, 17:55

Forum Jump:


Users browsing this thread: 3 Guest(s)