SA-MP Forums Archive
Dos warnings en sistema de registro (MySQL) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Dos warnings en sistema de registro (MySQL) (/showthread.php?tid=530708)



Dos warnings en sistema de registro (MySQL) - Orei - 08.08.2014

Hola!

Estaba siguiendo un tutorial en zona de ingleses y creo que fue bien salvo algunos warnings que no se si pueden o no dar problemas en el registro:

Код:
(88) : warning 202: number of arguments does not match definition
(91) : warning 202: number of arguments does not match definition


2 Warnings.
Os dejo las lнneas de los warnings:

Код:
88. cache_get_data(rows, fields, mysql);
91. cache_get_field_content(0, "PASS", pInfo[playerid][Password], mysql, 129);

*Cambiй el include del MySQL y puse el nuevo BlueG (el include anterior tiraba muchos errores pero йste solamente unos varios warnings que arreglй indentando bien el cуdigo y quedaron йstos dos que no se cуmo solucionarlos). Cambiй solamente el include del mysql el plugin dejй el anterior.

Aquн tienen el cуdigo completo: http://pastebin.com/yFbUjJMV

Muchas gracias!


Quote:
EDIT:

He probado a cambiar:

cache_get_field_content(0, "PASS", pInfo[playerid][Password], mysql, 129);

Por:

91. cache_get_field_content(0, "Password", pInfo[playerid][Password], mysql, 129);

Tampoco funciona.



Respuesta: Dos warnings en sistema de registro (MySQL) - deryan - 09.08.2014

Hola

"number of arguments does not match definition"
"El nъmero de argumentos no van con la definiciуn"

Lнnea 88: "mysql" estб de mбs.
Lнnea 91: el 129 estб de mбs.


Respuesta: Dos warnings en sistema de registro (MySQL) - Maflow - 09.08.2014

Seguramente has actualizado mal el include.

Descomprime y reemplaza lo siguiente en tu carpeta root del servidor.

https://github.com/pBlueG/SA-MP-MySQ...-r39-2-win.zip

Luego abres pawno y vuelves a compilar tu gamemode.

Manten las lineas como las tienes:
pawn Код:
cache_get_data(rows, fields, mysql);
cache_get_field_content(0, "PASS", pInfo[playerid][Password], mysql, 129);