View Single Post
Author Message
Suki1997
Junior Member
Join Date: Mar 2018
Old 03-16-2018 , 19:10   Code replacement
Reply With Quote #1

Is there any replacement for this, to have a same function but diff less valuable code?

public fw_updateclientdata(id, sw, cd_handle)
{
//this function overrides the client side sounds and stuff
if (user_has_pbgun(id) && cd_handle)
{

set_cd(cd_handle, CD_ID, 1);
get_cd(cd_handle, CD_flNextAttack, nextattack[id]);

return FMRES_HANDLED;

}
return FMRES_IGNORED;
}

I removed all high price codes in Pb, but i cant find better replacement for this one here, do you guys know some function that does the same, just way better and less memory usage?
Suki1997 is offline