Raised This Month: $ Target: $400
 0% 

skin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
InteX01
Senior Member
Join Date: Jan 2017
Old 07-15-2017 , 08:04   skin
Reply With Quote #1

PHP Code:
register_clcmd("say /skin" "skin"
PHP Code:
new g_ZombieClaws

new const _FistModels[][] = { "models/p_bknuckles.mdl""models/v_bknuckles_jbnew.mdl""models/zombiekandze.mdl" 
PHP Code:
public client_putinserver(id)
{    
    
clear_bit(g_ZombieClawsid)

PHP Code:
public current_weapon(id)
{
    if(!
is_user_alive(id))
        return 
PLUGIN_CONTINUE
    
    
if(get_bit(g_ZombieClawsid))
    {
        
set_pev(idpev_viewmodel2_FistModels[2])
        
set_pev(idpev_weaponmodel2_FistModels[0])
    }
    else
    {
        
set_pev(idpev_viewmodel2_FistModels[1])
        
set_pev(idpev_weaponmodel2_FistModels[0])
    }
    return 
PLUGIN_CONTINUE

PHP Code:
public skin(id)
{
            
set_bit(g_ZombieClawsid)


Okay so.... Zombie skin should work only that round... I want it to change back to _FistModels[1] after round ends.
InteX01 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 23:08.


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