Raised This Month: $32 Target: $400
 8% 

Code replacement


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode