AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   [ZP] Addon: Simple VIP Players (https://forums.alliedmods.net/showthread.php?t=137606)

fiendshard 09-07-2010 09:43

[ZP] Addon: Simple VIP Players
 
1 Attachment(s)
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!

artos 09-07-2010 10:04

Re: [ZP] Addon: Simple VIP Players
 
Overpowered VIP. Good job..

abdul-rehman 09-07-2010 10:40

Re: [ZP] Addon: Simple VIP Players
 
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 :up:

fiendshard 09-07-2010 14:38

Re: [ZP] Addon: Simple VIP Players
 
Quote:

Originally Posted by abdul-rehman (Post 1294009)
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 :up:

I made suggested corrections and indented it properly. Also, some new abilities added for vip1

aaarnas 09-07-2010 15:06

Re: [ZP] Addon: Simple VIP Players
 
Why you hadn't add any cvars ?

fiendshard 09-07-2010 15:58

Re: [ZP] Addon: Simple VIP Players
 
Quote:

Originally Posted by aaarnas (Post 1294193)
Why you hadn't add any cvars ?

Cause it's simple plugin like it's name states and initial release

HaJwAlH 09-10-2010 00:57

Re: [ZP] Addon: Simple VIP Players
 
Thank you ! :D

MosLaDatorie 06-11-2011 08:43

Re: [ZP] Addon: Simple VIP Players
 
hi aaarnas , the plugin work but only admins cand have vip , can you do that players can have vip?

Dolph_Ziggler 06-11-2011 09:43

Re: [ZP] Addon: Simple VIP Players
 
post this in the right thread [ZP] Zombie VIP 1.7.2

firevol 06-24-2011 08:26

Re: [ZP] Addon: Simple VIP Players
 
How to make a VIP trip aura?


All times are GMT -4. The time now is 15:32.

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