SA-MP Forums Archive
password - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: password (/showthread.php?tid=489098)



password - iBots - 20.01.2014

i am trying to make like when the player register it will write in his file his pass
i made under onplayerregister:
pawn Код:
PlayerInfo[playerid][pPass] = inputtext;
i am using a dialog thats why i put inputtext,but it shows this error:
pawn Код:
error 006: must be assigned to an array
what to do?
or should i change the inputtext to anything else?


Re: password - Patrick - 20.01.2014

pPass does not have size, it should look something like this inside your enumerated array[/b]

pawn Код:
enum pInfo
{
pPass[ 129 ] // change the size if needed, its default size for whirpool.
}