SA-MP Forums Archive
Explain me this MySql code - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Explain me this MySql code (/showthread.php?tid=634287)



Explain me this MySql code - akib - 16.05.2017

Hi,

I wanna get stored data from my MySql server.

I guess it is > cache_get_value

someone explain me this code?
Код:
cache_get_value(0, "password", Player[playerid][Password], 65);
if it is not for getting saved data then give me a code for it :/


Re: Explain me this MySql code - Banditul18 - 16.05.2017

Well depends on what mysql version you use.
For r33+ version: https://sampwiki.blast.hk/wiki/MySQL/R33..._field_content
This is the function to store data from database

For r40+: https://sampwiki.blast.hk/wiki/MySQL/R40...get_value_name

Of course this are for string, another one you cand find in the links