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 , 14:38   Re: [ZP] Addon: Simple VIP Players
Reply With Quote #1

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
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