Quote:
Originally Posted by ARP
Hey Guys,
I just want to do 2 things in my Mod, Using yesno option if this option is yes do this code and if it no do the second code
Something like == 0 ?
Any help will be great!
|
Try something like this:
PHP Code:
if ($vbulletin->options['enable_mod'])
{
//Code to be exuceted when the option is enabled
}else{
//Code to be exuceted when the option is disabled/in all other cases
}