AlliedModders

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

atomen 10-12-2009 09:33

Ham_Weapon_PrimaryAttack - Help
 
Hello!

How would I use this event?
Code:
RegisterHam(Ham_Weapon_PrimaryAttack, entity[], function[])
What should I replace "entity[]" with?
"player" or the weapon entity such as "weapon_m4a1"?

I can't test it myself ATM since I'm running multiple servers so
my computer lags a little bit too much for CS.

SnoW 10-12-2009 09:36

Re: Ham_Weapon_PrimaryAttack - Help
 
For Ham_Weapon- you use weapon entity, Ham_Player- player entity etc.

Arkshine 10-12-2009 10:57

Re: Ham_Weapon_PrimaryAttack - Help
 
Quote:

such as "weapon_m4a1"?
Yes.


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

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