[ERROR] cache_get_row_count: no active cache
#3

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.
Reply


Messages In This Thread
[ERROR] cache_get_row_count: no active cache - by AlfaSufaIndo - 02.07.2018, 16:44
Re: [ERROR] cache_get_row_count: no active cache - by DerickClark - 02.07.2018, 16:47
Re: [ERROR] cache_get_row_count: no active cache - by Calisthenics - 02.07.2018, 16:49
Re: [ERROR] cache_get_row_count: no active cache - by AlfaSufaIndo - 02.07.2018, 16:49
Re: [ERROR] cache_get_row_count: no active cache - by AlfaSufaIndo - 02.07.2018, 16:52
Re: [ERROR] cache_get_row_count: no active cache - by AlfaSufaIndo - 02.07.2018, 16:54

Forum Jump:


Users browsing this thread: 1 Guest(s)