Podmiana funkcji
public msg_weaponpickup(msgid, dest, id){
if(get_msg_arg_int(1) == CSW_HEGRENADE)
PLUGIN_CONTINUE
return g_zombie[id] ? PLUGIN_HANDLED : PLUGIN_CONTINUE
}Edycja funkcji
public event_curweapon(id)
{
if(!is_user_alive(id))
return PLUGIN_CONTINUE
static weapon
weapon = read_data(2)
if(g_zombie[id])
{
if(weapon != CSW_KNIFE && !task_exists(TASKID_STRIPNGIVE + id))
set_task(0.1, "task_stripngive", TASKID_STRIPNGIVE + id)
return PLUGIN_CONTINUE
}
na public event_curweapon(id)
{
if(!is_user_alive(id))
return PLUGIN_CONTINUE
static weapon
weapon = read_data(2)
if(g_zombie[id])
{
if(weapon != CSW_KNIFE && weapon != CSW_HEGRENADE && !task_exists(TASKID_STRIPNGIVE + id))
set_task(0.1, "task_stripngive", TASKID_STRIPNGIVE + id)
return PLUGIN_CONTINUE
}


Dodatki SourceMod




Moja zawartość
Nie podano
Napisane przez 
