Raised This Month: $ Target: $400
 0% 

Random model.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Unkolix
Veteran Member
Join Date: Sep 2012
Old 02-21-2013 , 09:34   Random model.
Reply With Quote #1

How to make that ct would get 1 of 4 models and t would get 1 of 4 models?
Other models:
CT: vip_ct, vip1_ct, vip2_ct, vip3_ct
TR: vip_tr, vip1_tr, vip2_tr, vip3_tr
PHP Code:
public resetModel(idlevelcid
{
    if (
get_user_flags(id) & ADMIN_LEVEL_H
    {
        if (
cs_get_user_team(id) == CS_TEAM_T
        {
            
cs_set_user_model(id"vip_tr")
        }
        else if(
cs_get_user_team(id) == CS_TEAM_CT
        {
            
cs_set_user_model(id"vip_ct")
        }
        else 
        {
            
cs_reset_user_model(id)
        }
    }
    return 
PLUGIN_CONTINUE


Last edited by Unkolix; 02-21-2013 at 09:40.
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 21:36.


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