Raised This Month: $ Target: $400
 0% 

Admin Counting [HELP FAST PLEASE]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Trafikkz
Junior Member
Join Date: Apr 2010
Old 11-18-2010 , 11:46   Re: Admin Counting [HELP FAST PLEASE]
Reply With Quote #1

Quote:
Originally Posted by Bugsy View Post
Make sure you have a global var maxplayers and set its value to get_maxplayers() in plugin init. Also, no need for the new_flags variable, put read_flags directly in set_user_flags..or just use ( ADMIN_BAN | ADMIN_USER ) (assuming flag b is ADMIN_BAN and z is ADMIN_USER). Be sure to call remove_user_flags prior to setting flags since set_user_flags is actually add_user_flags.

remove_user_flags( id );
set_user_flags( id , ADMIN_BAN | ADMIN_USER );
An example?
Trafikkz 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 11:19.


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