Raised This Month: $ Target: $400
 0% 

if dosn't have flag


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 04-15-2007 , 12:08   if dosn't have flag
Reply With Quote #1

I am sorry, 4 this question, but I am new in scripting. Can you help me? If user has IMMUNITY formula will look like this:
Quote:
if (get_user_flags(id)&ADMIN_IMMUNITY) {
...
}
And what will the formula look like if user dosn't have IMMUNITY flag?
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
Old 04-15-2007, 12:22
Dark Kingdom
This message has been deleted by Dark Kingdom.
VEN
Veteran Member
Join Date: Jan 2005
Old 04-15-2007 , 13:03   Re: if dosn't have flag
Reply With Quote #2

Dark Kingdom is incorrect. ADMIN_LEVEL_A is
Quote:
m - custom level A
The correct answer:
Quote:
if (!(get_user_flags(id)&ADMIN_IMMUNITY)) {
...
}
VEN is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 04-19-2007 , 18:59   Re: if dosn't have flag
Reply With Quote #3

Thx. =)
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
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 06:45.


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