02.07.2018, 16:49
You call a function and then expect it to retrieve data when there is no active cache (no query executed).
You have to select the data for the player and then call the function. Take a look at example script:
https://github.com/pBlueG/SA-MP-MySQ...cache.pwn#L182
https://github.com/pBlueG/SA-MP-MySQ...cache.pwn#L312
It however stores cache in memory and sets active for later use instead of executing another query.
You have to select the data for the player and then call the function. Take a look at example script:
https://github.com/pBlueG/SA-MP-MySQ...cache.pwn#L182
https://github.com/pBlueG/SA-MP-MySQ...cache.pwn#L312
It however stores cache in memory and sets active for later use instead of executing another query.