Raised This Month: $2 Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 10-31-2019 , 09:56   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #351


  • Greatly optimized the way name changing is being handled. Thanks to Bugsy and this thread.
  • This small update features changes only in crx_ranksystem.sma.
__________________

Last edited by OciXCrom; 10-31-2019 at 10:08.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
cosminvl
Member
Join Date: Mar 2013
Location: Romania
Old 11-03-2019 , 14:31   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #352

how can activate this?
\https://forums.alliedmods.net/image-...6861742e706e67
__________________


cosminvl is offline
Send a message via Yahoo to cosminvl
Zeky
Member
Join Date: Jul 2019
Old 11-03-2019 , 14:46   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #353

Quote:
Originally Posted by cosminvl View Post

For this, you need OciXCrom Chat Manager
Zeky is offline
cosminvl
Member
Join Date: Mar 2013
Location: Romania
Old 11-03-2019 , 14:52   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #354

Quote:
Originally Posted by Zeky View Post
For this, you need OciXCrom Chat Manager
Sorted THX
__________________


cosminvl is offline
Send a message via Yahoo to cosminvl
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-29-2019 , 08:19   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #355


  • The setting HUDINFO_ALIVE_ONLY has been changed with HUDINFO_VISIBILITY that has more options than the previous one:

    Code:
    # Who and when is able to see the HUD information.
    # 	0 = all players at all time
    # 	1 = only alive players
    # 	2 = only dead players
    # 	3 = dead players + alive players during freeze time
    HUDINFO_VISIBILITY = 0
  • The old setting name is still active, but I suggest that you change it with the new one and update the description in the file.
  • Aside from the change above, the update features changes only in crx_ranksystem.sma.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
msbeden
Member
Join Date: Jan 2020
Location: Turkey, Eskisehir
Old 01-18-2020 , 13:52   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #356

Hello.

How can I use the $level, $rank etc. variables in "OciXCrom's Rank System" in another plugin? I register the ranks in mysql.
msbeden is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 01-18-2020 , 14:05   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #357

Quote:
Originally Posted by msbeden View Post
Hello.

How can I use the $level, $rank etc. variables in "OciXCrom's Rank System" in another plugin? I register the ranks in mysql.
Use the api provided.
__________________
HamletEagle is online now
msbeden
Member
Join Date: Jan 2020
Location: Turkey, Eskisehir
Old 01-19-2020 , 03:37   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #358

Quote:
Originally Posted by HamletEagle View Post
Use the api provided.
Can you give sample usage? I do not have too much information. I just started coding the new plugin.

For example, I want to do something like below. I need a simple code structure.
I will design a reward system.

Code:
if(level == 5) {
     client_print(id, print_chat, "Your rank: 5");
}
msbeden is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-19-2020 , 06:57   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #359

Code:
#include <crxranks>

Code:
new level = crxranks_get_user_level(id) client_print(id, print_chat, "Your level is %i", level)

What kind of reward system are you trying to make? I already have some pre-made sub-plugins for this one - https://www.amxx-bg.info/pluginlab/?name=rank
__________________

Last edited by OciXCrom; 01-19-2020 at 06:58.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
msbeden
Member
Join Date: Jan 2020
Location: Turkey, Eskisehir
Old 01-19-2020 , 09:48   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #360

Quote:
Originally Posted by OciXCrom View Post
Code:
#include <crxranks>

Code:
new level = crxranks_get_user_level(id) client_print(id, print_chat, "Your level is %i", level)

What kind of reward system are you trying to make? I already have some pre-made sub-plugins for this one - https://www.amxx-bg.info/pluginlab/?name=rank
Thank you. This example works very well.
For example, I will automatically give golden ak47 to 5th place. I was having trouble finding the level value. I got it.
msbeden is offline
Reply


Thread Tools
Display Modes

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 14:01.


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