Skip to forum content

You are not logged in. Please login or register.


forums.pvpgn.pro → [EN] The Source Code → help in my code,rank const char* id; please

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 1

1

Topic: help in my code,rank const char* id; please

help me please,ejem:

is correct my code?

        extern int account_get_ladder_rank2(t_account * account, t_clienttag clienttag, const char* id)

        {        
            if (!clienttag)
            {
            eventlog(eventlog_level_error,__FUNCTION__,"got bad clienttag");
            return 0;
            }
            
            std::string key("Record\\" + tag_uint_to_str2(clienttag) + "\\" + (const_cast <const char*>(id)) + "\\rank");

            return account_get_numattr(account, key.c_str());
        }

Posts: 1

Pages 1

You must login or register to post a reply

Who now at forum

Currently view post: 1 guest, 0 registered users

forums.pvpgn.pro → [EN] The Source Code → help in my code,rank const char* id; please