im using this code, and i think its really laging my server
PHP Code:
public message_cur_weapon(msg_id, msg_dest, msg_entity)
{
//...
replace_models(msg_entity)
}
PHP Code:
// Set Custom Weapon Models
public replace_models(id)
{
// Not alive
if (!is_user_alive(id))
return;
switch (g_currentweapon[id])
{
case CSW_M3:
{
set_pev(id, pev_viewmodel2, model_vmm3_survivor)
set_pev(id, pev_weaponmodel2, model_pmm3_survivor)
}
// loootss more of switches.....
}
}
is this really lagin' my server? what alternative i have?
PD: This has nothin' to do with ppl downloadin' models