nope, hooked it all into a set_task of 6.0 seconds after user spawns, and hooked CurWeapon, my current problem is with hooking Feign...
Code:
Game registered user msgs: msgid size
Feign 114 1
this is the code I have for it..
plugin_init
PHP Code:
register_event("Feign","feigned","be","1=1")
PHP Code:
public feigned(id)
{
log_amx("stated logging for feigned index")
if(get_pcvar_num(g_spycloak))
{
new class = entity_get_int(id, EV_INT_playerclass)
log_amx("got playerclass %i",class)
new name[33]
get_user_name(id,name,32)
log_amx("got player name of %s",name)
if(class == 8)
{
log_amx("%s is a spy.. in feigned index..",name)
set_user_rendering(id,kRenderFxNone,_,_,_,kRenderTransAlpha,0)
log_amx("%s is feigning with full cloak",name)
client_print(id,print_chat, "[AMXX] SpyCloak has detected you're feigning death, you are completely invisible now!")
}
}
return PLUGIN_CONTINUE
}
with the log events there, I can tell that it is never called..
__________________