Raised This Month: $ Target: $400
 0% 

[CS] Forward to detect whenever BP Ammo changes?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
MeRcyLeZZ
Veteran Member
Join Date: Dec 2007
Old 03-23-2009 , 11:18   [CS] Forward to detect whenever BP Ammo changes?
Reply With Quote #1

Hi all,

I'm looking for a forward that could be used to efficiently detect whenever a player's backpack ammo amount changes.

I want to avoid using register_event/message for the "AmmoX" message, because an engine-generated message has to be sent during such forward's execution (doing that can currently crash the server or result in some awful recursion bugs). I know I can always get around those by using a 0.1 sec task, but I'm looking for a more "clean" and efficient method...

Thanks in advance,
__________________

Last edited by MeRcyLeZZ; 03-23-2009 at 11:31.
MeRcyLeZZ 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 08:53.


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