Raised This Month: $ Target: $400
 0% 

VIP Models Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 01-21-2013 , 14:34   Re: VIP Models Help
Reply With Quote #2

Do it like this


Code:
public ModelMenuCT( id ) {
new menu = menu_create("Model:", "Model_handler")
new szTemp[32]
formatex(szTemp, charsmax(szTemp), "\yMr Smith [\r%s\y]", Model[id] ? "ON" : "OFF")
menu_additem(menu, szTemp, "1")
menu_display(id, menu)
}
public Model_handler(id, menu, item) {
    if(item == MENU_EXIT) {
        menu_destroy(menu)
        return PLUGIN_HANDLED
    }
    
    if((Model[id] = !Model[id])) {
            cs_set_user_model(id,"VIP_CT") 
            ColorChat(id, BLUE, "%s Model is on", prefix)
        }
    }
    else {
            cs_reset_user_model(id) 
            ColorChat(id, BLUE, "%s Model is off", prefix)
    }
    ModelMenuCT(id)
    return PLUGIN_CONTINUE
}
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
 



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 13:44.


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