Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 11-05-2021 , 07:53   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #711

Quote:
Originally Posted by romeo72 View Post
hello HamletEagle

Thanks for the detailed answer !
I have one last question. where exactly is the data stored?

best regards
nvault is used to store data locally and it always saves inside cstrike/addons/amxmodx/data/vault, every plugin creates its own .vault file in there.
__________________

Last edited by HamletEagle; 11-05-2021 at 07:54.
HamletEagle is offline
romeo72
Member
Join Date: Oct 2021
Old 11-05-2021 , 14:38   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #712

Perfect ... thank you very much for this important note!

Wish you a nice evening !!

best regards
romeo72 is offline
SHARYAR
Junior Member
Join Date: Feb 2021
Location: KARACHI , PAKISTAN
Old 11-26-2021 , 15:56   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #713

How Can I Put Levels To Unlock Models For Example
LEVEL 5 = UNLOCK 1ST MODEL
i am not good at coding so thanks if any make it for me
I use level system Oxicrom CrxRanks

Last edited by SHARYAR; 11-26-2021 at 15:56.
SHARYAR is offline
Old 11-26-2021, 15:59
SHARYAR
This message has been deleted by SHARYAR.
SHARYAR
Junior Member
Join Date: Feb 2021
Location: KARACHI , PAKISTAN
Old 11-26-2021 , 16:02   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #714

The Model Menu iUse : File
Attached Files
File Type: sma Get Plugin or Get Source (Admin_Models.sma - 39 views - 3.7 KB)

Last edited by SHARYAR; 11-26-2021 at 16:03.
SHARYAR is offline
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: idk
Old 11-30-2021 , 04:56   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #715

This is a very good plugin. I use it in my ZP server.

Last edited by GlobalPlague; 02-16-2022 at 18:29.
GlobalPlague is offline
SHARYAR
Junior Member
Join Date: Feb 2021
Location: KARACHI , PAKISTAN
Old 11-30-2021 , 07:16   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #716

do you need to add Level XP And Rank In Zp Hud Info?
And disable original crx rank hud ?
SHARYAR is offline
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 11-30-2021 , 13:09   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #717

If I am not mistaken, this should be it
PHP Code:
        ShowSyncHudMsg(ID_SHOWHUDg_MsgSync2"%L: %d - %L %s - %L %d - %L %d^nXP: %d/%d | Level: %d/%d"id"ZOMBIE_ATTRIB1"pev(ID_SHOWHUDpev_health), ID_SHOWHUD"CLASS_CLASS",
        class, 
ID_SHOWHUD"AMMO_PACKS1"g_ammopacks[ID_SHOWHUD], ID_SHOWHUD"ARMOR"pev(ID_SHOWHUDpev_armorvalue), crxranks_get_user_xp(id), crxranks_get_user_next_xp(id), crxranks_get_user_level(id), crxranks_get_max_levels()) 
Do not forget to add this item as well
HTML Code:
#include <crxranks>
__________________
Contact: Telegram
amirwolf is offline
rumble
Junior Member
Join Date: Oct 2020
Old 11-30-2021 , 17:22   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #718

Quote:
Originally Posted by rumble View Post
Hi OciXCrom's, I have a question, could you add "reset" to your system?
In other words, all the players who reach the maximum level will reset their level, and they will be awarded a "reset" point.
this points can be a requirement to acquire or unlock things.
like for example you plugin of knife "Knife Models [XP System & Skills Support]".
that is to say that apart from having a level requirement also in some you can place reset points to unlock.
for example :

[Default]
V_MODEL = models/v_knife.mdl

[KNIFE 2 [LVL 5 - RESET 0]]
V_MODEL = models/v_knife.mdl
LEVEL = 5
RESET = 0

[KNIFE3 [LVL 10 - RESET 1]]
V_MODEL = models/v_knife.mdl
LEVEL = 10
RESET = 1
Sorry for the inconvenience, but is there any news on this update?
rumble is offline
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: idk
Old 12-01-2021 , 03:57   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #719

Quote:
Originally Posted by SHARYAR View Post
do you need to add Level XP And Rank In Zp Hud Info?
And disable original crx rank hud ?
Yes.
Yes, the Crx Rank's original HUD should be disabled.

Last edited by GlobalPlague; 02-16-2022 at 18:29.
GlobalPlague is offline
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 12-01-2021 , 08:11   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #720

Oh sorry
I mistakenly thought assasin is one of the modes on your server
PHP Code:
public ShowHUD(taskid)
{
    static 
id
    id 
ID_SHOWHUD;
    
    
// Player died?
    
if (!g_isalive[id])
    {
        
// Get spectating target
        
id pev(idPEV_SPEC_TARGET)
        
        
// Target not alive
        
if (!g_isalive[id]) return;
    }
    
    
// Format classname
    
static class[32], rankname[32], redgreenblue
    
    crxranks_get_user_rank
(idranknamecharsmax(rankname))
    
    if (
g_zombie[id]) // zombies
    
{
        
red 250
        green 
250
        blue 
10
        
        
if (g_nemesis[id])
            
formatex(class, charsmax(class), "%L"ID_SHOWHUD"CLASS_NEMESIS")
        else if (
g_assassin[id])
            
formatex(class, charsmax(class), "%L"ID_SHOWHUD"CLASS_ASSASSIN")
        else
            
copy(class, charsmax(class), g_zombie_classname[id])
    }
    else 
// humans
    
{
        
red 0
        green 
180
        blue 
255
        
        
if (g_survivor[id])
            
formatex(class, charsmax(class), "%L"ID_SHOWHUD"CLASS_SURVIVOR")
        else if (
g_sniper[id])
            
formatex(class, charsmax(class), "%L"ID_SHOWHUD"CLASS_SNIPER")
        else
            
formatex(class, charsmax(class), "%L"ID_SHOWHUD"CLASS_HUMAN")
    }
    
    
// Spectating someone else?
    
if (id != ID_SHOWHUD)
    {
        
// Show name, health, class, and ammo packs and armor
        
set_hudmessage(25510255HUD_SPECT_XHUD_SPECT_Y16.01.10.00.0, -1)
        
ShowSyncHudMsg(ID_SHOWHUDg_MsgSync2"%L %s^nHP: %d - %L %s - %L %d - %L %d"ID_SHOWHUD"SPECTATING"g_playername[id],
        
pev(idpev_health), ID_SHOWHUD"CLASS_CLASS", class, ID_SHOWHUD"AMMO_PACKS1"g_ammopacks[id], ID_SHOWHUD"ARMOR"pev(idpev_armorvalue))
    }
    else
    {
        
// Show health, class and ammo packs and armor
        
set_hudmessage(redgreenblueHUD_STATS_XHUD_STATS_Y06.01.10.00.0, -1)
        
ShowSyncHudMsg(ID_SHOWHUDg_MsgSync2"%L: %d - %L %s - %L %d - %L %d^nXP: %d/%d | Level: %d/%d: %s"id"ZOMBIE_ATTRIB1"pev(ID_SHOWHUDpev_health), ID_SHOWHUD"CLASS_CLASS",
        class, 
ID_SHOWHUD"AMMO_PACKS1"g_ammopacks[ID_SHOWHUD], ID_SHOWHUD"ARMOR"pev(ID_SHOWHUDpev_armorvalue), crxranks_get_user_xp(id), crxranks_get_user_next_xp(id), crxranks_get_user_level(id), crxranks_get_max_levels(), rankname)
    }

To turn off the hud message
HTML Code:
HUDINFO_ENABLED = 0
__________________
Contact: Telegram

Last edited by amirwolf; 12-01-2021 at 08:15.
amirwolf 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 22:01.


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