...
...
|
Re: curweapon event
hook curweapon and read_data(2) (i think)
|
Re: curweapon event
not tested
PHP Code:
|
Re: curweapon event
Detect weapon change with CurWeapon event filtered :
PHP Code:
PHP Code:
|
Re: curweapon event
...
|
Re: curweapon event
Also, to force a player to switch his weapon, i would recommand to use ExecuteHam(Ham_Item_Deploy, iNewWeaponEntity).
You may have to execute Ham_Holster on previous one. engclient_cmd doesn't trigger CurWeapon event so with (for example) models plugins that use this event models will be messed up. |
Re: curweapon event
...
|
| All times are GMT -4. The time now is 13:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.