Raised This Month: $ Target: $400
 0% 

Blockmaker SteamID


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
P1raten
Senior Member
Join Date: Feb 2010
Old 02-08-2013 , 12:24   Re: Blockmaker SteamID
Reply With Quote #34

Quote:
Originally Posted by Sylwester View Post
No. You can't compare strings using == operator.
Why don't you just use flags?
PHP Code:
public some_function(id){
    if(!(
get_user_flags(id) & ADMIN_BAN)){
        return
    }
    
    
//do stuff here

What?
Sorry, my terminology sucks.

PHP Code:
new const SteamIDs[][] =
{
    
"STEAMID",
    
"STEAMID",
    
"STEAMID",
    
"STEAMID",
    
"STEAMID",
    
"STEAMID"
}; 
__________________
No salvation. Only madness.
P1raten is offline
 


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 11:12.


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