Raised This Month: $ Target: $400
 0% 

Model Admin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Crizzatu
Member
Join Date: May 2012
Old 05-02-2013 , 12:24   Model Admin
Reply With Quote #1

How can create ADMIN [ FLAG: ADMIN_LEVEL_G ] model ?
I have Models
Explicit: I want them for admins put them other models !!
The script below is made ​​for the player and for admins!! I need for admin other model and for player other model!

PHP Code:
public player_spawn(id)
    {
    static 
CsTeams:team
    
    
if(!is_user_connected(id))
        return 
HAM_IGNORED
    
    set_pdata_float
(idm_fNextHudTextArgsGameTimeget_gametime() + 999999.0)
    
player_strip_weapons(id)
    if(
g_RoundEnd)
        {
        
g_RoundEnd 0
        g_JailDay
++
    }
    
    
set_user_rendering(idkRenderFxNone000kRenderNormal0)
    
    
clear_bit(g_PlayerCrowbarid)
    
clear_bit(g_PlayerWantedid)
    
team cs_get_user_team(id)
    
    switch(
team)
    {
        case(
CS_TEAM_T):
        {
            
g_PlayerLast 0
            
if(!g_PlayerReason[id])
                
g_PlayerReason[id] = random_num(16)
            
            
player_hudmessage(id05.0, {2550255}, "%L %L"LANG_SERVER"JBE_PRISONER_REASON",
            
LANG_SERVERg_Reasons[g_PlayerReason[id]])
            
            
set_user_info(id"model""jbemodel")
            
entity_set_int(idEV_INT_body2)
            if(
is_freeday() || get_bit(g_FreedayAutoid))
                {
                
freeday_set(0id)
                
clear_bit(g_FreedayAutoid)
            }
            else
            {
                
entity_set_int(idEV_INT_skinrandom_num(02))
            }
            
            if(
g_CrowbarCount get_pcvar_num(gp_CrowbarMax))
                {
                if(
random_num(0g_MaxClients) > (g_MaxClients 2))
                    {
                    
g_CrowbarCount++
                    
set_bit(g_PlayerCrowbarid)
                }
            }
            
cs_set_user_armor(id0CS_ARMOR_NONE)
        }
        case(
CS_TEAM_CT):
        {
            
g_PlayerSimon[id]++
            
set_user_info(id"model""jbemodel")
            
entity_set_int(idEV_INT_body3)
            
cs_set_user_armor(id100CS_ARMOR_VESTHELM)
        }
    }
    
first_join(id)
    return 
HAM_IGNORED

Thx
Crizzatu 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 10:54.


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