Raised This Month: $ Target: $400
 0% 

Spawn with Armor


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-27-2009 , 16:15   Re: Spawn with Armor
Reply With Quote #11

Quote:
Originally Posted by joaquimandrade View Post
There is nothing wrong. You have to add the time taken by the functions called inside fm_set_user_armor. So you have to profile just one of "fm_set..." or "fm_cs_set..." and add the time taken by set_pev and set_pdata_int

Based in your profile results it would be approximately:

fm_set_user_armor + set_pev/2 + set_pdata_int/2 = 0.005802 + 0.003963/2 + 0.003909/2 = 0.005801 + 0.001982 + 0.001954 = 0.009737
I guess fm_set_user_armor already include set_pev + set_pdata.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 23:51.


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