Raised This Month: $ Target: $400
 0% 

VIP Plugin 3.0 UPDATED


Post New Thread Reply   
 
Thread Tools Display Modes
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 08-09-2016 , 17:41   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #471

Quote:
Originally Posted by P0PC0rN View Post
sry
in amxx.cfg default user flag is z
i must change it to H ?
Do not do it, because everybody on your server will be an admin with level ADMIN_LEVEL_H.
Actually changing it 'ADMIN_LEVEL_H' to 'ADMIN_USER', should work.

I was mislead by the '/* everyone */' on the documentation and also by my laziness to think a little more.
Code:
Admin level constants#
#define ADMIN_ALL           0       /* everyone */
#define ADMIN_IMMUNITY      (1<<0)  /* flag "a" */
#define ADMIN_RESERVATION   (1<<1)  /* flag "b" */
#define ADMIN_KICK          (1<<2)  /* flag "c" */
#define ADMIN_BAN           (1<<3)  /* flag "d" */
#define ADMIN_SLAY          (1<<4)  /* flag "e" */
#define ADMIN_MAP           (1<<5)  /* flag "f" */
#define ADMIN_CVAR          (1<<6)  /* flag "g" */
#define ADMIN_CFG           (1<<7)  /* flag "h" */
#define ADMIN_CHAT          (1<<8)  /* flag "i" */
#define ADMIN_VOTE          (1<<9)  /* flag "j" */
#define ADMIN_PASSWORD      (1<<10) /* flag "k" */
#define ADMIN_RCON          (1<<11) /* flag "l" */
#define ADMIN_LEVEL_A       (1<<12) /* flag "m" */
#define ADMIN_LEVEL_B       (1<<13) /* flag "n" */
#define ADMIN_LEVEL_C       (1<<14) /* flag "o" */
#define ADMIN_LEVEL_D       (1<<15) /* flag "p" */
#define ADMIN_LEVEL_E       (1<<16) /* flag "q" */
#define ADMIN_LEVEL_F       (1<<17) /* flag "r" */
#define ADMIN_LEVEL_G       (1<<18) /* flag "s" */
#define ADMIN_LEVEL_H       (1<<19) /* flag "t" */
#define ADMIN_MENU          (1<<20) /* flag "u" */
#define ADMIN_BAN_TEMP      (1<<21) /* flag "v" */
#define ADMIN_ADMIN         (1<<24) /* flag "y" */
#define ADMIN_USER          (1<<25) /* flag "z" */
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective

Last edited by addons_zz; 08-09-2016 at 17:42. Reason: formatting layout
addons_zz is offline
P0PC0rN
Member
Join Date: Jul 2016
Old 08-09-2016 , 22:12   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #472

Quote:
Originally Posted by addons_zz View Post
Do not do it, because everybody on your server will be an admin with level ADMIN_LEVEL_H.
Actually changing it 'ADMIN_LEVEL_H' to 'ADMIN_USER', should work.

I was mislead by the '/* everyone */' on the documentation and also by my laziness to think a little more.
Code:
Admin level constants#
#define ADMIN_ALL           0       /* everyone */
#define ADMIN_IMMUNITY      (1<<0)  /* flag "a" */
#define ADMIN_RESERVATION   (1<<1)  /* flag "b" */
#define ADMIN_KICK          (1<<2)  /* flag "c" */
#define ADMIN_BAN           (1<<3)  /* flag "d" */
#define ADMIN_SLAY          (1<<4)  /* flag "e" */
#define ADMIN_MAP           (1<<5)  /* flag "f" */
#define ADMIN_CVAR          (1<<6)  /* flag "g" */
#define ADMIN_CFG           (1<<7)  /* flag "h" */
#define ADMIN_CHAT          (1<<8)  /* flag "i" */
#define ADMIN_VOTE          (1<<9)  /* flag "j" */
#define ADMIN_PASSWORD      (1<<10) /* flag "k" */
#define ADMIN_RCON          (1<<11) /* flag "l" */
#define ADMIN_LEVEL_A       (1<<12) /* flag "m" */
#define ADMIN_LEVEL_B       (1<<13) /* flag "n" */
#define ADMIN_LEVEL_C       (1<<14) /* flag "o" */
#define ADMIN_LEVEL_D       (1<<15) /* flag "p" */
#define ADMIN_LEVEL_E       (1<<16) /* flag "q" */
#define ADMIN_LEVEL_F       (1<<17) /* flag "r" */
#define ADMIN_LEVEL_G       (1<<18) /* flag "s" */
#define ADMIN_LEVEL_H       (1<<19) /* flag "t" */
#define ADMIN_MENU          (1<<20) /* flag "u" */
#define ADMIN_BAN_TEMP      (1<<21) /* flag "v" */
#define ADMIN_ADMIN         (1<<24) /* flag "y" */
#define ADMIN_USER          (1<<25) /* flag "z" */

Sry I Cant Understand This
Now I Must change All Of ADMIN_LEVEL_H to ADMIN_USER In .sma file ?


+ How Can Add guns To Free Vip Guns Menu ?
P0PC0rN is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 08-10-2016 , 06:13   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #473

Quote:
Originally Posted by P0PC0rN View Post
Sry I Cant Understand This
Now I Must change All Of ADMIN_LEVEL_H to ADMIN_USER In .sma file ?
Instead of ask, why you just do it and see if work?
And the code I just give you last time?

Quote:
Originally Posted by P0PC0rN View Post
+ How Can Add guns To Free Vip Guns Menu ?
Writing code to it.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
chaves
Senior Member
Join Date: Oct 2011
Old 08-10-2016 , 10:39   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #474

Quote:
Originally Posted by addons_zz View Post
Yes and done. I attached it.

Hello could do work only through a "bind" ?, also like to remove the gain free grenades and leaves them only linked to arms purchases, to choose the weapon menu you win the grenades + vest
chaves is offline
chaves
Senior Member
Join Date: Oct 2011
Old 08-10-2016 , 10:48   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #475

Hello could do work only through a "bind" ?, also like to remove the gain free grenades and leaves them only linked to arms purchases, to choose the weapon menu you win the grenades + vest

I think now u think what que VIP so here u go:
What u get When u are VIP?
1.You get Free nades each round. (HE, 2FB, SG) - remove
2.Free Armor + Helm - remove
3.You Get $ 500 per kill and per HS $ 800 - Remove
4.You Get 15HP per kill and per HS 30HP
5.You See bullet damage at real team.
6.Only VIP can buy Sniper's. (Like AWP) - remove
7.Write / vips u will see VIP's online.
8.U will can use Admin Chat
9.Slot reservation
From 3 round u will begin see menu: - menu only by former bind: bind "key" "say / vip_menu" and add AWP and Deagle
1.Get Free M4K1 and Deagle + HE
2.Get Free AK47 and Deagle + HE

all weapons in the menu are accompanied by 1HE 2Flash + + + 1Smoke vest + helm + free ammunition
chaves is offline
vitsifunk
New Member
Join Date: Sep 2016
Old 09-22-2016 , 12:51   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #476

Hello and congrats for the job!
It's a great plugin!

Though i have a little problem!
I don't know how to make the menu disappear after a player going away from the spawn.
having as a result many players to use it afterwards and changing weapons in the middle of the map or they are throwing two nades etc!
any tip?
Thnks in advance!
vitsifunk is offline
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 09-22-2016 , 18:30   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #477

Quote:
Originally Posted by vitsifunk View Post
I don't know how to make the menu disappear after a player going away from the spawn.
Put 10 a set_task seconds timeout.
May finding out when the players leaves the buy_zone.
__________________
Plugin: Sublime Text - ITE , Galileo
Multi-Mod: Manager / Plugin / Server

Support me on Patreon, Ko-fi, Liberapay or Open Collective
addons_zz is offline
vitsifunk
New Member
Join Date: Sep 2016
Old 09-24-2016 , 15:02   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #478

Quote:
Originally Posted by addons_zz View Post
Put 10 a set_task seconds timeout.
May finding out when the players leaves the buy_zone.
Well, it's the first time that i will do something like this by my own!
Wish me luck!

Thnk you very much for the advice!
vitsifunk is offline
Rigved
Junior Member
Join Date: Dec 2016
Old 12-07-2016 , 01:37   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #479

Can someone please add third option in VIP gun menu

for AWP rifle?
Rigved is offline
segos
Junior Member
Join Date: May 2009
Location: UK
Old 12-07-2016 , 02:54   Re: VIP Plugin 3.0 UPDATED
Reply With Quote #480

Quote:
Originally Posted by Rigved View Post
Can someone please add third option in VIP gun menu

for AWP rifle?


Try
Attached Files
File Type: amxx VIP.amxx (12.4 KB, 92 views)
File Type: sma Get Plugin or Get Source (VIP.sma - 547 views - 10.0 KB)

Last edited by segos; 12-07-2016 at 02:58.
segos 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 20:33.


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