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

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 05-04-2022 , 16:12   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #761

I don't understand what you mean by "another plugin's flag". The 'code' isn't helpful either.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
MeliMeli
Senior Member
Join Date: Apr 2022
Location: Brazil
Old 05-05-2022 , 19:39   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #762

I have already explained as simply as possible, let's assume that I have a VIP plugin (vipplugin.amxx) and it has its flag (vip_team_human) to use for other plugins (this means that for the player to access a certain item [can be a one weapon] he needs to have the flag (VIP_team_human) from Vipplugin.amxx.

In originality he needs to have 1000 kills to purchase the weapon X
But as I want to add +1 requirement (VIP flag) [VIP_team_human] it needs to be VIP and have 1000 kills. Did you understand? The same applies to your plugin, which by default is flag "B" and I want for this ------->vip_team_human<---------. He understands?

Last edited by MeliMeli; 05-05-2022 at 19:39.
MeliMeli is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-06-2022 , 13:22   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #763

There is no flag named "vip_team_human" in AMXX. If your plugin does something custom, post the plugin here.
I can't possibly know what it does and how it can be connected without looking at its code. A plugin can't simply "create" a new admin flag for use with other plugins.
__________________

Last edited by OciXCrom; 05-06-2022 at 13:23.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
MeliMeli
Senior Member
Join Date: Apr 2022
Location: Brazil
Old 05-06-2022 , 16:15   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #764

I can't believe you still don't understand OciXCrom master, so you...

Okay, I will react as per your answer. This is the plugin I want to put to work together with your plugin:

https://forums.alliedmods.net/showthread.php?p=1098857

zm_vip_en.zip

If you can take a look, I'll be grateful. It's basically making ZM VIP work with your plugin, only instead of the VIP FLAG being b (in your plugin) I want it to be the zm vip
MeliMeli is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-06-2022 , 16:33   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #765

Sorry for not being able to read minds!

There is no such thing "vip_team_human" in the link you posted.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
MeliMeli
Senior Member
Join Date: Apr 2022
Location: Brazil
Old 05-07-2022 , 14:15   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #766

Are you alright? sleeping well? I said twice that this "vip_team_human" was an example. OMG

You're excused. The flag I want to use is "ZV_MAIN" and change your plugin's VIP FLAG=b to "ZV_MAIN".

I can't simplify it more than that.

Last edited by MeliMeli; 05-07-2022 at 14:16.
MeliMeli is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-07-2022 , 14:31   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #767

Sorry, I'm not sleeping well and don't understand pseudo-English. Next time cut to the point and give full details.

Simple example of how to make "ZV_MAIN" players receive double XP:

Code:
#include <amxmodx> #include <crxranks> #include <zmvip> public plugin_init() {     register_plugin("CRXRanks: ZMVip Bonus", "1.0", "OciXCrom") } public crxranks_user_receive_xp(id, iXP, CRXRanks_XPSources:iSource) {     if(iSource != CRXRANKS_XPS_ADMIN)     {         if(zv_get_user_flags(id) & ZV_MAIN)         {             return iXP * 2         }     } }

I believe with good enough sleep you can figure out the rest.
Good luck.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
MeliMeli
Senior Member
Join Date: Apr 2022
Location: Brazil
Old 05-07-2022 , 20:26   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #768

It wasn't my intuition to be rigid, but I explained it twice in detail and said it was an example. I use your plugins, I like it, but the way you treat those who use your work and need help is a little disappointing, you don't have to please anyone. But a little more clarity and kindness is good

Note: using translator, it doesn't help much

Last edited by MeliMeli; 05-07-2022 at 20:28.
MeliMeli is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-08-2022 , 07:46   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #769

What can I say. I'm an evil person.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
MeliMeli
Senior Member
Join Date: Apr 2022
Location: Brazil
Old 05-09-2022 , 13:59   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #770

Okay, it's your right not to want to help. it's all right
MeliMeli 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 08:26.


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