Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Dexon
Member
Join Date: Aug 2019
Old 08-21-2019 , 15:49   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #301

I already using it, but it is not possible to tie the rank system with the prefix system. Tell me, how could I add a flag when someone levels up to a rank? Or may you can write it into the plugin, and send the sma file, if you have time. Thank you for the answer.

Last edited by Dexon; 08-21-2019 at 15:50.
Dexon is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-22-2019 , 07:59   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #302

It is perfectly possible. Check the first post.



About the flags - https://www.amxx-bg.info/viewtopic.php?f=21&p=25605
__________________

Last edited by OciXCrom; 08-22-2019 at 07:59.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Dexon
Member
Join Date: Aug 2019
Old 08-23-2019 , 16:35   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #303

Thanks for the fast reply, and for the great help!
I know, I want too much, but could I ask you how to add ammo bonus for each level when player levels up?
(ZP 4.3)
Dexon is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-23-2019 , 17:39   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #304

Quote:
Originally Posted by Dexon View Post
Thanks for the fast reply, and for the great help!
I know, I want too much, but could I ask you how to add ammo bonus for each level when player levels up?
(ZP 4.3)
How would the bonus work exactly?
You want the player to get X ammo packs when he levels up?
Same amount for each level or more AP for higher levels?
__________________

Last edited by OciXCrom; 08-23-2019 at 17:40.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Dexon
Member
Join Date: Aug 2019
Old 08-24-2019 , 08:58   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #305

I want to player get ammo pack, higher damage, each time he levels up. May if you know how to do, AP only for higher levels, yea. That's what I'm exactly need. Now I'm trying to make extra items to level.
Thanks for help!
Dexon is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-24-2019 , 09:06   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #306

About the ammo packs:

PHP Code:
#include <amxmodx>
#include <cromchat>
#include <crxranks>
#include <zombieplague>

const AP_ON_LVL_UP 100

public plugin_init()
{
    
register_plugin("CRXRanks: AP on lvlUP""1.0""OciXCrom")
}

public 
crxranks_user_level_updated(idiLevelbool:bLevelUp)
{
    if(
bLevelUp)
    {
        
zp_set_user_ammo_packs(idzp_get_user_ammo_packs(id) + AP_ON_LVL_UP)
        
CC_SendMessage(id"* You received &x04%i Ammo Packs &x01for leveling up!"AP_ON_LVL_UP)
    }

const AP_ON_LVL_UP = 100 - this is the amount of AP you'll get on levelup. Feel free to change it or let me know if you want MORE ammo packs for HIGHER levels. A formula can be used as well.

About the damage, here - https://www.amxx-bg.info/viewtopic.php?t=4834#p27442
The second code is what you need. Read the configuration guide after it.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Dexon
Member
Join Date: Aug 2019
Old 08-24-2019 , 09:21   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #307

I need more ammo packs for higher levels. Sorry for the inaccurate composition. But when I said "AP only for higher levels" I meaned armor.
Dexon is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-24-2019 , 09:30   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #308

Tell me exactly how many ammo packs and how much armor...
For example, I can make it level * 10, so e.g. for level 15 you will get 15*10 = 150.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Dexon
Member
Join Date: Aug 2019
Old 08-24-2019 , 09:55   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #309

1 >> 2 => 100 Ammo
2 >> 3 => 100 Ammo
3 >> 4 => 100 Ammo
4 >> 5 => 100 Ammo
5 >> 6 => 100 Ammo
6 >> 7 => 100 Ammo
7 >> 8 => 100 Ammo
8 >> 9 => 100 Ammo

9 >> 10 => 250 Ammo // 10AP

10 >> 11 => 150 Ammo
11 >> 12 => 150 Ammo
13 >> 14 => 150 Ammo
14 >> 15 => 150 Ammo
15 >> 16 => 150 Ammo
16 >> 17 => 150 Ammo
17 >> 18 => 150 Ammo
18 >> 19 => 150 Ammo

19 >> 20 => 500 Ammo // 30AP

20 >> 21 => 200 Ammo
21 >> 22 => 200 Ammo
22 >> 23 => 200 Ammo
23 >> 24 => 200 Ammo
24 >> 25 => 200 Ammo
25 >> 26 => 200 Ammo
26 >> 27 => 200 Ammo
27 >> 28 => 200 Ammo
28 >> 29 => 200 Ammo

29 >> 30 => 1000 Ammo // 50AP
Dexon is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 08-24-2019 , 17:20   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #310

?

What's Ammo and what's AP?!
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 16:27.


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