AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Weapon pickup (https://forums.alliedmods.net/showthread.php?t=75379)

anakin_cstrike 08-04-2008 09:03

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

Arkshine 08-04-2008 09:17

Re: Weapon pickup
 
There are several ways. ( hooking event, command... ) .You should search before posting, it was already asked again and again.

pharse 08-04-2008 18:33

Re: Weapon pickup
 
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.


All times are GMT -4. The time now is 05:38.

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