View Single Post
raa
Senior Member
Join Date: Oct 2005
Old 08-03-2007 , 16:04   Re: No spark on client fire
Reply With Quote #6

K, thanks I'll try that out..

I came up with this..
Code:
public plugin_init()     {     register_plugin(PLUGIN, VERSION, AUTHOR);     register_forward(FM_UpdateClientData, "UpdateClientData_Post", 1); } public client_PreThink(id)     {     if(!is_user_alive(id))         {         return PLUGIN_CONTINUE;     }         if(pev(id, pev_button) & IN_ATTACK)         {         client_print(0, print_chat, "SHOT FIRED");     }         return PLUGIN_CONTINUE; } public UpdateClientData_Post(id, sendweapons, cd_handle)     {     if(!is_user_alive(id))         {         return FMRES_IGNORED;     }         set_cd(cd_handle, CD_ID, 0);         return FMRES_HANDLED; }
I was just about to post asking about the sounds..

can't we put those back in using messages?
__________________

Last edited by raa; 08-03-2007 at 16:07.
raa is offline