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

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 , 06: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 06:54.
HamletEagle is offline
romeo72
Member
Join Date: Oct 2021
Old 11-05-2021 , 13: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 , 14: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 14:56.
SHARYAR is offline
Old 11-26-2021, 14:59
SHARYAR
This message has been deleted by SHARYAR.
SHARYAR
Junior Member
Join Date: Feb 2021
Location: KARACHI , PAKISTAN
Old 11-26-2021 , 15: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 - 82 views - 3.7 KB)

Last edited by SHARYAR; 11-26-2021 at 15:03.
SHARYAR is offline
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 11-30-2021 , 03: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 17:29.
GlobalPlague is offline
SHARYAR
Junior Member
Join Date: Feb 2021
Location: KARACHI , PAKISTAN
Old 11-30-2021 , 06: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 , 12: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>
__________________
amirwolf is offline
rumble
Junior Member
Join Date: Oct 2020
Old 11-30-2021 , 16: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: Pluto
Old 12-01-2021 , 02: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 17:29.
GlobalPlague is offline
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 12-01-2021 , 07: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
__________________

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


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