Raised This Month: $ Target: $400
 0% 

[ZP] Addon: Simple VIP Players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fiendshard
Senior Member
Join Date: Dec 2009
Location: In Water
Old 09-07-2010 , 09:43   [ZP] Addon: Simple VIP Players
Reply With Quote #1

Another simple VIP plugin:

Each VIP 1 player will receive on each round:

500 hp
150 armour
1/2 gravity
Semi-visibility
Huge light aura
Word BOMB next to the name in scoreboard
Starts with 20 ammo packs
--------------------------------------------

Each VIP 2 player will receive on each round:

400 hp
120 armour
70% of gravity
Starts with 15 ammo packs

Player should have Q flag in users.ini for vip 1
Player should have R flag in users.ini for vip 2

Enjoy!
Attached Files
File Type: sma Get Plugin or Get Source (zp_simplevip.sma - 7943 views - 2.0 KB)
__________________

Last edited by fiendshard; 09-07-2010 at 14:36. Reason: update
fiendshard is offline
artos
Senior Member
Join Date: Mar 2010
Old 09-07-2010 , 10:04   Re: [ZP] Addon: Simple VIP Players
Reply With Quote #2

Overpowered VIP. Good job..
__________________
artos is offline
Send a message via Skype™ to artos
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 09-07-2010 , 10:40   Re: [ZP] Addon: Simple VIP Players
Reply With Quote #3

Change this:
Code:
return PLUGIN_HANDLED
To this:
Code:
 return HAM_IGNORED
Since you are dealing with hamsandwich

AND
Change this:
Code:
if(is_user_alive(id) && get_user_flags(id) & VIP1_FLAG)
to this:
Code:
if (is_user_alive(id) && (get_user_flags(id) & VIP1_FLAG))
Because bitsum values are checked first

Btw nice plugin
It would be better if you add more features and indent it properly
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
fiendshard
Senior Member
Join Date: Dec 2009
Location: In Water
Old 09-07-2010 , 14:38   Re: [ZP] Addon: Simple VIP Players
Reply With Quote #4

Quote:
Originally Posted by abdul-rehman View Post
Change this:
Code:
return PLUGIN_HANDLED
To this:
Code:
 return HAM_IGNORED
Since you are dealing with hamsandwich

AND
Change this:
Code:
if(is_user_alive(id) && get_user_flags(id) & VIP1_FLAG)
to this:
Code:
if (is_user_alive(id) && (get_user_flags(id) & VIP1_FLAG))
Because bitsum values are checked first

Btw nice plugin
It would be better if you add more features and indent it properly
I made suggested corrections and indented it properly. Also, some new abilities added for vip1
__________________
fiendshard is offline
aaarnas
Veteran Member
Join Date: Jun 2008
Location: Lithuania
Old 09-07-2010 , 15:06   Re: [ZP] Addon: Simple VIP Players
Reply With Quote #5

Why you hadn't add any cvars ?
__________________
My plugins:
[ZP] ZM_VIP (v2.0.0 is comming. v1.9.1 BETA is out!)

aaarnas is offline
fiendshard
Senior Member
Join Date: Dec 2009
Location: In Water
Old 09-07-2010 , 15:58   Re: [ZP] Addon: Simple VIP Players
Reply With Quote #6

Quote:
Originally Posted by aaarnas View Post
Why you hadn't add any cvars ?
Cause it's simple plugin like it's name states and initial release
__________________
fiendshard is offline
HaJwAlH
Member
Join Date: Apr 2010
Old 09-10-2010 , 00:57   Re: [ZP] Addon: Simple VIP Players
Reply With Quote #7

Thank you !
HaJwAlH is offline
MosLaDatorie
Junior Member
Join Date: Jun 2011
Old 06-11-2011 , 08:43   Re: [ZP] Addon: Simple VIP Players
Reply With Quote #8

hi aaarnas , the plugin work but only admins cand have vip , can you do that players can have vip?
MosLaDatorie is offline
Dolph_Ziggler
BANNED
Join Date: Jun 2011
Old 06-11-2011 , 09:43   Re: [ZP] Addon: Simple VIP Players
Reply With Quote #9

post this in the right thread [ZP] Zombie VIP 1.7.2
Dolph_Ziggler is offline
Send a message via MSN to Dolph_Ziggler
firevol
Junior Member
Join Date: Jun 2011
Old 06-24-2011 , 08:26   Re: [ZP] Addon: Simple VIP Players
Reply With Quote #10

How to make a VIP trip aura?
firevol 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 15:32.


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