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_ZombieClaws, id)
}
PHP Code:
public current_weapon(id)
{
if(!is_user_alive(id))
return PLUGIN_CONTINUE
if(get_bit(g_ZombieClaws, id))
{
set_pev(id, pev_viewmodel2, _FistModels[2])
set_pev(id, pev_weaponmodel2, _FistModels[0])
}
else
{
set_pev(id, pev_viewmodel2, _FistModels[1])
set_pev(id, pev_weaponmodel2, _FistModels[0])
}
return PLUGIN_CONTINUE
}
PHP Code:
public skin(id)
{
set_bit(g_ZombieClaws, id)
}
Okay so.... Zombie skin should work only that round... I want it to change back to _FistModels[1] after round ends.