Raised This Month: $ Target: $400
 0% 

Weapon pickup


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 08-04-2008 , 09:03   Weapon pickup
Reply With Quote #1

Hi.
What is the event that is called when a player buys a deagle ?
__________________

anakin_cstrike is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-04-2008 , 09:17   Re: Weapon pickup
Reply With Quote #2

There are several ways. ( hooking event, command... ) .You should search before posting, it was already asked again and again.
__________________
Arkshine is offline
pharse
Senior Member
Join Date: Jan 2008
Location: Germany, BW
Old 08-04-2008 , 18:33   Re: Weapon pickup
Reply With Quote #3

Have a look into my plugin "Excessive Buy Punisher" (see link in my signature)

You can check in client_command() for the aliases "deagle" and "nighthawk" and you can hook when the player invokes the buy command using the menu. Use "register_menucmd" for that.
__________________
pharse 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 05:38.


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