Raised This Month: $ Target: $400
 0% 

get_user_weapon or native?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 11-07-2013 , 00:20   Re: get_user_weapon or native?
Reply With Quote #7

Quote:
Originally Posted by ^SmileY View Post
For forwards, you need to make it to use with other plugins, i recommend to use using CurWeapon event, because it is only called when player really change bettwen weapons.

No not really. CurWeapon is called every time the clip ammo is updated, which means every time you fire a shot or when you change weapons.

@Baneado its hard to say unless you show your code or explain what your trying to do otherwise its really going to be XY problem. However, I can't imagine why you would need to use get_user_weapon() inside client_PreThink.
hornet 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:13.


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