Raised This Month: $ Target: $400
 0% 

VIP Models Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
zEEDu
Junior Member
Join Date: Jan 2013
Location: Vaasa, Finland
Old 01-21-2013 , 09:31   VIP Models Help
Reply With Quote #1

Yo, need some help with some stuff

Models:

When i'm ingame and choose ex. Mr Smith model and then if i want another one or maybe reset the model but i i can't. Neither the message appears.
Why?

PHP Code:
public ModelMenuCTid 

    new 
menu menu_create("\yVIP Menu^n\wCounter-Terrorist Models^n\d -www.Scandic-Gamers.com""HandleModelsMenuCT"
    
menu_additemmenu"Mr Smith""1"); 
    
menu_additemmenu"Master Chief""2"); 
    
menu_additemmenu"\yReset Model""3");     
    
menu_setpropmenuMPROP_EXITMEXIT_ALL );  
    
menu_displayidmenu); 


public 
ModelMenuTid 

    new 
menu menu_create("\yVIP Menu^n\wTerrorist Models^n\d -www.Scandic-Gamers.com""HandleModelsMenuTerr"
    
menu_additemmenu"Rebel""1"); 
    
menu_additemmenu"50 Cent""2"); 
    
menu_additemmenu"\yReset Model""3"); 
    
menu_setpropmenuMPROP_EXITMEXIT_ALL );  
    
menu_displayidmenu); 



public 
HandleModelsMenuCT(idkeymenuitem) {  
   if(
is_user_alive(id))
   {   
    switch(
key)
    {
        case 
0: {
            
cs_set_user_model(id,"VIP_CT"
            
ColorChat(idBLUE"%s Selected Model loaded successfully!"prefix)
        }
        case 
1: {
            
cs_set_user_model(id,"VIP_CT2"
            
ColorChat(idBLUE"%s Selected Model loaded successfully!"prefix)
        }
        case 
2: {
            
cs_reset_user_model(id
            
ColorChat(idBLUE"%s Model resetted sucessfully!"prefix)
       }
        }
    }
    return 
PLUGIN_HANDLED


public 
HandleModelsMenuTerr(idkeymenuitem) {  
   if(
is_user_alive(id))
   {   
    switch(
key)
    {
        case 
0: {
            
cs_set_user_model(id,"VIP_T"
            
ColorChat(idRED"%s Selected Model loaded successfully!"prefix)
        }
        case 
1: {
            
cs_set_user_model(id,"VIP_T2"
            
ColorChat(idRED"%s Selected Model loaded successfully!"prefix)
        }
        case 
2: {
            
cs_reset_user_model(id
            
ColorChat(idRED"%s Model resetted sucessfully!"prefix)
       }
        }
    }
    return 
PLUGIN_HANDLED

Toggles:

I need a VIP tag in scoreboard that and so a player writes with green color (colorchat) that you can choose from a menu if you want it OFF or ON.
Ex.

1. Scoreboard Tag [ON] = Enabled & OFF = Disabled
2. Green Chat [ON] = Enabled & OFF = Disabled

How do i do this?

Thanks in advance!
__________________
PM for Private Work!

Scandinavian Gaming Association

Last edited by zEEDu; 01-21-2013 at 09:48. Reason: ..
zEEDu 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 13:44.


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