Raised This Month: $ Target: $400
 0% 

Set user flags from const...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Unkolix
Veteran Member
Join Date: Sep 2012
Old 04-22-2013 , 08:16   Set user flags from const...
Reply With Quote #1

Can't try this, but will this work ok? Will this add all the flags in the const?
PHP Code:
new const FreeFlags[][] = {
    
"ADMIN_IMMUNITY""ADMIN_RESERVATION""ADMIN_CHAT"
}
/***/
public somefuction(id) {
    
set_user_flags(idFreeFlags)

Unkolix is offline
 



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 10:56.


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