[Ajuda] mysql: string e floats - 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: string e floats (
/showthread.php?tid=601415)
mysql: string e floats -
Lucas_HenryK - 21.02.2016
PHP код:
strmid(PlayerInfo[playerid][pMarriedTo],DOF2_GetString(string2,"MarriedTo"),0,strlen(DOF2_GetString(string2,"MarriedTo")),255);
Como eu carrego essa string com mysql?
Eu sei que й com cache_get_field_content, porem deu uns erros..
PHP код:
PlayerInfo[playerid][pSHealth] = cache_get_field_content_float(0, "pSHealth");
Isso vai gerar bugs/problemas?
Re: mysql: string e floats -
Coringa_Vilao - 21.02.2016
exemplo:
PHP код:
cache_get_field_content(0, "Nome Tabela", PlayerInfo[playerid][pSHealth], LoginMYSQL, 100);