This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

OciXCrom's Rank System [XP|Levels|Ranks]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Gooday
Junior Member
Join Date: Jan 2024
Old 04-26-2024 , 10:07   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #38

Hello, OciXCrom, thank you for the great plugin. I have a question. I use saving method MYSQL, and it saves for STEAM ID. I still want to use Steam ID, but I also want to add "Nickname" column in DB, so I can show nickname instead of Steam ID, if I post this top on website.

I'm not good with scripting, should I tweak something here?
PHP Code:
        formatex(szQuerycharsmax(szQuery), "CREATE TABLE IF NOT EXISTS `%s` (`Player` VARCHAR(%i) NOT NULL, `XP` INT(%i) NOT NULL, `Level` INT(%i) NOT NULL,\
        `Next XP` INT(%i) NOT NULL, `Rank` VARCHAR(%i) NOT NULL, `Next Rank` VARCHAR(%i) NOT NULL, PRIMARY KEY(Player));"
,\
        
g_eSettings[SQL_TABLE], MAX_SQL_PLAYER_LENGTHCRXRANKS_MAX_XP_LENGTHCRXRANKS_MAX_XP_LENGTHCRXRANKS_MAX_XP_LENGTH,\
        
MAX_SQL_RANK_LENGTHMAX_SQL_RANK_LENGTH
Gooday is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode