Raised This Month: $32 Target: $400
 8% 

Your own Admin System


Post New Thread Reply   
 
Thread Tools Display Modes
swapped
BANNED
Join Date: Mar 2014
Location: OrpheuRegisterHook
Old 04-15-2014 , 02:18   Re: Your own Admin System
Reply With Quote #21

Quote:
Originally Posted by fysiks View Post
What part don't you understand about the flags?
I mean, where (in the source code) i can edit and put my own flags ?

PHP Code:
enum
{
    
KZ_JOIN_PASS = (1<<0),
    
KZ_JOIN_TAGS = (1<<1),
    
KZ_JOIN_STEAM = (1<<2),
    
KZ_JOIN_IP = (1<<3),
    
KZ_JOIN_NOPASS = (1<<4)

This i can edit and put my flags ?
swapped is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-15-2014 , 02:23   Re: Your own Admin System
Reply With Quote #22

Quote:
Originally Posted by swapped View Post
I mean, where (in the source code) i can edit and put my own flags ?

PHP Code:
enum
{
    
KZ_JOIN_PASS = (1<<0),
    
KZ_JOIN_TAGS = (1<<1),
    
KZ_JOIN_STEAM = (1<<2),
    
KZ_JOIN_IP = (1<<3),
    
KZ_JOIN_NOPASS = (1<<4)

This i can edit and put my flags ?
If you are using the default admin plugins then there is no reason do do anything stated in this thread. This thread is about re-writing the admin structure (but only the beginning). It's not something that you really need to do.

You would be better off requesting what you want in the requests section. But, make sure that you describe what you want in extreme detail. If you are planning on writing plugins your self, do the same thing but in the Scripting Help forum.
__________________
fysiks is offline
swapped
BANNED
Join Date: Mar 2014
Location: OrpheuRegisterHook
Old 04-15-2014 , 04:11   Re: Your own Admin System
Reply With Quote #23

no dude, i just dont understand what is the part of code :

Code:
enum 
{ 
    KZ_JOIN_PASS = (1<<0), 
    KZ_JOIN_TAGS = (1<<1), 
    KZ_JOIN_STEAM = (1<<2), 
    KZ_JOIN_IP = (1<<3), 
    KZ_JOIN_NOPASS = (1<<4) 
}
swapped is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-15-2014 , 13:04   Re: Your own Admin System
Reply With Quote #24

Quote:
Originally Posted by swapped View Post
no dude, i just dont understand what is the part of code :

Code:
enum 
{ 
    KZ_JOIN_PASS = (1<<0), 
    KZ_JOIN_TAGS = (1<<1), 
    KZ_JOIN_STEAM = (1<<2), 
    KZ_JOIN_IP = (1<<3), 
    KZ_JOIN_NOPASS = (1<<4) 
}
That code is simply assigning numbers to variables using bit shifts.
__________________
fysiks is offline
Reply


Thread Tools
Display Modes

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 21:41.


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