AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   anyone explain this (https://forums.alliedmods.net/showthread.php?t=193335)

SPT1 08-18-2012 11:46

anyone explain this
 
what this does?
PHP Code:

#define SetUserAdmin(%0)      ( gBitAdmin |= ( 1 << ( %0 & 31 ) ) )
#define ClearUserAdmin(%0)    ( gBitAdmin &= ( ~( 1 << ( %0 & 31 ) ) ) )
#define IsAdmin(%0)           ( gBitAdmin & ( 1 << ( %0 & 31 ) ) ) 


Arkshine 08-18-2012 11:57

Re: anyone explain this
 
It has already been asked, already answered a billion of times. Please search, look also at the existing tutorial.

SPT1 08-18-2012 14:03

Re: anyone explain this
 
i didn't get any tutorial

lucas_7_94 08-18-2012 15:17

Re: anyone explain this
 
http://forums.alliedmods.net/showthr...hlight=bitsums


Search for bitsums there.

SPT1 08-18-2012 16:55

Re: anyone explain this
 
thanks


All times are GMT -4. The time now is 05:42.

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