30.08.2011, 14:25
Hey.
I've got a problem with saving the inputtext (from OnDialogResponse) into a variable.
This:
Gives me this:
and this
gives this
I know I have to turn the Password[MAX_PLAYERS] into a variable, but I need to be a variable assigned to current playerid, so I can have two people registering at once... can anybody help me? Thanks.
I've got a problem with saving the inputtext (from OnDialogResponse) into a variable.
This:
Код:
Password[playerid] = inputtext;
Код:
C:\Users\Viktor\Desktop\SAdmin\filterscripts\SAdmin.pwn(315) : error 006: must be assigned to an array
Код:
if(inputtext == Password[playerid])
Код:
C:\Users\Viktor\Desktop\SAdmin\filterscripts\SAdmin.pwn(327) : error 033: array must be indexed (variable "inputtext")