From 2980fb1d82540c4d2a31fa127410ee30ef975e13 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 3 Feb 2005 20:49:44 +0000 Subject: [PATCH] Merged with ns2amx header --- plugins/include/ns2amx.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/include/ns2amx.inc b/plugins/include/ns2amx.inc index 6ffc4450..905969a4 100755 --- a/plugins/include/ns2amx.inc +++ b/plugins/include/ns2amx.inc @@ -245,7 +245,11 @@ stock set_mask(id,mask,value) return ns_set_mask(id,mask,value) stock get_special(id,mask) - return ns_get_special(id,mask) +{ + if (pev(id,pev_iuser4) & mask) + return 1 + return 0 +} stock get_res(id) return floatround(ns_get_res(id))