Raised This Month: $51 Target: $400
 12% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
pakgamerz
AlliedModders Donor
Join Date: Aug 2017
Old 01-31-2021 , 11:37   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #591

it was the chat manager i use sorry wrong thread to ask. this was rank system.
pakgamerz is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-12-2021 , 15:44   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #592

Mini-update: fixed symbol in Turkish translation that caused an error log.

Code:
L 02/12/2021 - 19:17:22: Start of error session.
L 02/12/2021 - 19:17:22: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20210212.log")
L 02/12/2021 - 19:17:22: String formatted incorrectly - parameter 7 (total 6)
L 02/12/2021 - 19:17:22: [AMXX] Displaying debug trace (plugin "crx_ranksystem.amxx", version "3.9")
L 02/12/2021 - 19:17:22: [AMXX] Run time error 25: parameter error 
L 02/12/2021 - 19:17:22: [AMXX]    [0] crx_ranksystem.sma::send_chat_message (line 1484)
L 02/12/2021 - 19:17:22: [AMXX]    [1] core.inc::abs (line 201)
L 02/12/2021 - 19:17:22: [AMXX]    [2] crx_ranksystem.sma::OnPlayerKilled (line 1099)
To fix without redownloading everything: replace %x with &x in the .txt files.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
nG_getwreck
Senior Member
Join Date: Oct 2020
Location: Philippines from South K
Old 02-17-2021 , 09:27   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #593

Hello, I want to add levels per extra item:

I'm using zp 5.0

For example:
Code:
Frost Nade - Level 1 
Bazooka - Level 2
__________________

Last edited by nG_getwreck; 02-17-2021 at 09:27.
nG_getwreck is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-17-2021 , 18:13   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #594

Not tested.

Code:
#include <amxmodx> #include <crxranks> #include <zp50_items> enum _:CRXItemInfo {     CRXItemName[32],     CRXItemLevel } new const g_eItems[][CRXItemInfo] = {     /* <exact item name> <level required to purchase> */     { "Frost Nade", 1 },     { "Bazooka", 2 } } new Trie:g_tItemLevels public plugin_init() {     register_plugin("CRXRanks: ZP 5.0 Items", "1.0", "OciXCrom")     g_tItemLevels = TrieCreate()     for(new i; i < sizeof(g_eItems); i++)     {         TrieSetCell(g_tItemLevels, g_eItems[i][CRXItemName], g_eItems[i][CRXItemLevel])     } } public plugin_end() {     TrieDestroy(g_tItemLevels) } public zp_fw_items_select_pre(id, iItem) {     new szName[32], iLevel     zp_items_get_name(iItem, szName, charsmax(szName))     if(TrieGetCell(g_tItemLevels, szName, iLevel))     {         if(crxranks_get_user_level(id) < iLevel)         {             formatex(szName, charsmax(szName), "\r[LEVEL %i]", iLevel)             zp_items_menu_text_add(szName)             return ZP_ITEM_NOT_AVAILABLE         }     }     return ZP_ITEM_AVAILABLE }
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-12-2021 , 16:09   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #595


  • Enabled colored chat messages for Counter-Strike: Condition Zero.
  • Eliminated the need for two separate language files.
__________________

Last edited by OciXCrom; 03-12-2021 at 16:10.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Will2
Junior Member
Join Date: Jan 2021
Old 03-16-2021 , 10:15   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #596

Is it possible to make a plugin for the ocixcrom rank system, which disables the voice chat for the unranked players?
Will2 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-16-2021 , 15:08   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #597

Quote:
Originally Posted by Will2 View Post
Is it possible to make a plugin for the ocixcrom rank system, which disables the voice chat for the unranked players?
What do you mean by unranked? You mean players under a certain level?
__________________

Last edited by OciXCrom; 03-16-2021 at 15:08.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Will2
Junior Member
Join Date: Jan 2021
Old 03-16-2021 , 16:59   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #598

Yes i meant that, i just described it a little bit wrong.
Will2 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-16-2021 , 17:21   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #599

Code:
#include <amxmodx> #include <crxranks> #include <engine> const SPEAK_LEVEL = 5 public plugin_init() {     register_plugin("CRXRanks: Speak On Level", "1.0", "OciXCrom") } public crxranks_user_level_updated(id, iLevel) {     set_speak(id, iLevel >= 5 ? SPEAK_NORMAL : SPEAK_MUTED) }
__________________

Last edited by OciXCrom; 03-18-2021 at 17:50.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Will2
Junior Member
Join Date: Jan 2021
Old 03-18-2021 , 16:49   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #600

The plugin compiles but for some reason it doesn't work. They can use the microphone below a certain level.
Will2 is offline
Reply



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 13:21.


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