need help, weapon slots
well...
How to create new weapon slots or how to hack weapon slots using amxx ? Thankx --Blondu |
Re: need help, weapon slots
Hook WeaponList message in plugin_precache() and alter it's content. http://wiki.amxmodx.org/index.php/Ha..._1_Game_Events
.\amxmodx\scripting\include\messages.inc Though it's not possible to assign custom sprite to a client HUD weapon list. |
Re: need help, weapon slots
Quote:
|
Re: need help, weapon slots
Actually i was talking about AMX Mod X. Of course it's possible clientside.
|
Re: need help, weapon slots
Just re-thinking about this, the only change you have to make clientside is the actual DeathMsg icon by the weapon, which has to be done manually by clients.
You can create custom weapon(s) using the HL weapon slot system. Just have to remember (1<<2) is the only free weapon index on CS. Also with other proper messages you can get the weapon to showup when you pick it up and ammo you pickup (if I remember correctly there is a special offset for ammo). 376 springs to mind, I can't remember why I needed this now but I did when I worked on the 1st incarnation of WeaponMod. |
| All times are GMT -4. The time now is 06:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.