Raised This Month: $ Target: $400
 0% 

Weapon Pickup Event


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 07-27-2014 , 10:49   Re: Weapon Pickup Event
Reply With Quote #1

You can use Ham_Touch with weaponbox, too. Check if the user has weapon and return if so.
And yes, explain what are you actually trying to do.
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 07-27-2014 , 11:09   Re: Weapon Pickup Event
Reply With Quote #2

Quote:
Originally Posted by Flick3rR View Post
You can use Ham_Touch with weaponbox, too. Check if the user has weapon and return if so.
Touch() is not a good way for detecting weapon pickup, rather just preempting it.
There are much better ways such as WeapPickup event and AddPlayerItem().
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
Reply



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 13:17.


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