Raised This Month: $ Target: $400
 0% 

Enum bits for menu options


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
skatz_ws
Junior Member
Join Date: Aug 2019
Old 09-08-2019 , 10:07   Enum bits for menu options
Reply With Quote #1

Hi!
I want to create a options menu for players to turn on/off things in my server, and I want to create a enumeration with all options, to see if it's on and off.

The best way to do it is with bits? like:

PHP Code:
enum Options ( <<=)
{
    
Option1 1,
    
Option2,
    
Option3,
    
Option4,
    
Option5 
}; 
skatz_ws 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 18:55.


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