SA-MP Forums Archive
[Ajuda] MySQL cache - 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: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] MySQL cache (/showthread.php?tid=601913)



MySQL cache - bsHoX - 28.02.2016

Bom estou tentando carregar um valor do MySQL

PHP код:
pInventario[inv_item_ativo][playerid][i] = cache_get_field_content_int(0str); 
mais ele estб dando este erro

PHP код:
C:\Users\Lucas\Desktop\SERVER\SERVER\gamemodes\inv.pwn(2060) : warning 213tag mismatch 



Re: MySQL cache - Dayvison_ - 28.02.2016

Possibilidades


Re: MySQL cache - bsHoX - 28.02.2016

Quote:
Originally Posted by Day_
Посмотреть сообщение
Possibilidades
  • A variavel pInventario estб sendo criada com algum tag e recebendo um valor sem tag.
  • A matrix 1 de pInventario requer uma tag que contradiz com [i]inv_item_ativo[/b].
  • A matrix 2 de pInventario requer uma tag que contradiz com [i]playerid[/b].
  • A matrix 3 de pInventario requer uma tag que contradiz com [i]i[/b].
  • str estб com algum tag.
obrigado pela ajuda, estava faltando bool:

PHP код:
bool:cache_get_field_content_int(0str); 



Re: MySQL cache - Coringa_Vilao - 29.02.2016

tente assim:

PHP код:
pInventario[inv_item_ativo][playerid][i] = cache_get_field_content_int(0"Tabela"str);