Raised This Month: $ Target: $400
 0% 

Solved Help Me Optimize?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hellmonja
Senior Member
Join Date: Oct 2015
Old 03-04-2017 , 05:08   Re: Help Me Optimize?
Reply With Quote #3

Did I do it right?

From:
PHP Code:
static weaponweapon fm_find_ent_by_owner(-1weapon_bizonentity
To:
PHP Code:
static weapon;
new 
entstrtypeclassname;
weapon engfunc(EngFunc_FindEntityByStringentstrtypeclassname
From:
PHP Code:
static entent fm_get_user_weapon_entity(idCSW_BIZON
To:
PHP Code:
const m_pActiveItem 373;
...
static 
ent;
ent get_pdata_cbase(idm_pActiveItem); 
give_item is pretty easy so I didn't include it...
__________________
hellmonja 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 20:47.


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