[MySQL] "cache_get_field_content_int" no active cache
#3

pawn Code:
forward LoadAccount(playerid);
public LoadAccount(playerid)
{
    if(!cache_get_row_count())
    {
        // No registration found - they need to be registered!
        return true;
    }

    new szQuery[16];

    // Now we will continue in order to complete our query
    format(szQuery, sizeof(szQuery), "%s", PlayerInfo[playerid][IP]);
    cache_get_field_content(0, "IP", szQuery);
    return true;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)