Raised This Month: $ Target: $400
 0% 

Easy question : most efficient way


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 01-01-2015 , 07:09   Re: Easy question : most efficient way
Reply With Quote #2

I would go with give_item() or cs_set_user_armor(). That will also set some in-game variables ("user has helmet" etc), while the second one will only set the armor value and update it on HUD. But in this case, the efficiency is probably trivial and not noticeable, but always try to let the game do most of the work for you if possible.
klippy 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 15:23.


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