Raised This Month: $ Target: $400
 0% 

[ZP] Addon: Simple VIP Players


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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