Raised This Month: $ Target: $400
 0% 

need help, weapon slots


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
B1ondu
Junior Member
Join Date: Apr 2007
Old 04-27-2007 , 15:49   need help, weapon slots
Reply With Quote #1

well...

How to create new weapon slots or how to hack weapon slots using amxx ?

Thankx

--Blondu
B1ondu is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 04-28-2007 , 04:52   Re: need help, weapon slots
Reply With Quote #2

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.
VEN is offline
Orangutanz
Veteran Member
Join Date: Apr 2006
Old 04-28-2007 , 17:42   Re: need help, weapon slots
Reply With Quote #3

Quote:
Originally Posted by VEN
Though it's not possible to assign custom sprite to a client HUD weapon list.
It is possible, however it has to be done clientside by manually editing the hud.txt
__________________
|<-- Retired from everything Small/Pawn related -->|
You know when you've been Rango'd
Orangutanz is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 04-29-2007 , 03:01   Re: need help, weapon slots
Reply With Quote #4

Actually i was talking about AMX Mod X. Of course it's possible clientside.
VEN is offline
Orangutanz
Veteran Member
Join Date: Apr 2006
Old 04-29-2007 , 17:32   Re: need help, weapon slots
Reply With Quote #5

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.
__________________
|<-- Retired from everything Small/Pawn related -->|
You know when you've been Rango'd
Orangutanz 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 06:42.


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