[Ayuda] error 006: must be assigned to an array
#3

La cosa es que necesito que el contenido del inputtext se guarde en PlayerInfo[playerid][pPassword] ya que es para el registro y el logeo, todo completo me da esto:


Код:
                new string2[128];
                format(string2, sizeof(string2), "%s", inputtext); PlayerInfo[playerid][pPassword] = inputtext;
                format(Query, sizeof(Query), "INSERT INTO `smf_members` (member_name, passwd, real_name,avatar) VALUES ('%s', '%s','%s','http://zonalatina.com.nu/skins/%d.png')",pName, PlayerInfo[playerid][pPassword],pName,GetPlayerSkin(playerid));
                mysql_function_query(Conecction, Query, true, "OnQueryFinish", "ii", 0, playerid);
                format(Query, sizeof(Query), "INSERT INTO `usuarios` (username, password,posX,posY,posZ,vida,money,skin) VALUES ('%s','%s','1815.36','-1825.75','13.4141','100','50000','250')",pName, PlayerInfo[playerid][pPassword]);
                mysql_function_query(Conecction, Query, true, "OnQueryFinish", "ii", 0, playerid);
                format(string, sizeof(string), "Has registrado el personaje %s en nuestro servidor.\n\nAhora inicia sesiуn", pName);
                ShowPlayerDialog(playerid, LOGIN, DIALOG_STYLE_PASSWORD,"Iniciar sesiуn",string,"Enviar","Salir");
Reply


Messages In This Thread
[Ayuda] error 006: must be assigned to an array - by Thewin - 27.02.2014, 01:03
Respuesta: [Ayuda] error 006: must be assigned to an array - by OTACON - 27.02.2014, 01:10
Respuesta: [Ayuda] error 006: must be assigned to an array - by Thewin - 27.02.2014, 01:12
Respuesta: [Ayuda] error 006: must be assigned to an array - by OTACON - 27.02.2014, 01:16
Respuesta: [Ayuda] error 006: must be assigned to an array - by Thewin - 27.02.2014, 01:22

Forum Jump:


Users browsing this thread: 3 Guest(s)