Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

cache_get_value_name: no active cache

$
0
0
hi how to fix the stat command??

Code:

NO SHOW REGISTRATION DATE

MYSQL LOG: cache_get_value_name: no active cache


MYSQL R41-2


Code:

CMD:stat(playerid,params[])
{
        new RegDate[64];
        cache_get_value_name(0,"RegDate",RegDate,sizeof(RegDate));
        new jatszottora = pInfo[playerid][pHours];
        new skin = GetPlayerSkin(playerid);
        new string[500];
        new string2[500];
        SendClientMessage(playerid,COLOR_WHITE,"(( |____Stat:____| ))");
        format(string,sizeof(string),"(( Name: %s | Registration Date: %s | Playing Hour: %d | Skin: %d ))",pName(playerid),RegDate,jatszottora,skin);
        format(string2,sizeof(string2),"(( Job: %s | Faction: Civil | Admin Level: %s ))", MunkaNevek[GetPlayerMunka(playerid)], ARanks[GetPlayerALevel(playerid)]);
        SendClientMessage(playerid,COLOR_WHITE,string);
        SendClientMessage(playerid,COLOR_WHITE,string2);
    return 1;
}


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>