Raised This Month: $ Target: $400
 0% 

Player is using weapon


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
benamo6
Veteran Member
Join Date: Aug 2008
Location: NeverLand
Old 03-06-2010 , 20:26   Player is using weapon
Reply With Quote #1

Is there a way to detect if player is using a weapon?
I know about user_has_weapon but it checks if player have the weapon not if he is using it at the moment.
I need this to reset user maxspeed after a speed boost given by set_user_maxspeed(id, 500.0).
If I just set it to 230 (m4a1 and most of primary weapons maxspeed) you will have to switch weapons to get the default weapon maxspeed.
So im wondering if its possible to check if user is using a certain weapon and set the weapon maxspeed to him.
__________________
Please help me with this Thread
I am 70% addicted to Counterstrike. What about you?
Ill make any spanish translation of a plugin. Just ask for it
benamo6 is offline
Send a message via MSN to benamo6
 



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:40.


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