AlliedModders

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

Styles 11-09-2009 02:14

weapon_*
 
Where can I get a list of all the weapons' classname weapon_* I really don't want to have to buy each one and have it log it...

Thank you

#8 SickneSS 11-09-2009 02:43

Re: weapon_*
 
http://wiki.amxmodx.org/CS_Weapons_Information

Arkshine 11-09-2009 02:45

Re: weapon_*
 
Since when you don't search anymore, styles ?!!

Styles 11-09-2009 05:39

Re: weapon_*
 
lol I didn't think about the wiki :-/ I was being an air head... I was like WTF?! Const only grr lol. Then I was like wtf? Looked on the SVN.. ect.. then was like humm wtf? aww well post..

One thing Arkshine, how can I get a list of possible offsets for like Ham module forwards? Like Ham_Weapon_PrimaryAttack. I know heres a lot... like one that speeds up shooting ect..

ot_207 11-09-2009 05:49

Re: weapon_*
 
What offsets are you talking about?

The private data offsets or the ham basic offsets?

Edit: For PV Data Offsets see this:
http://wiki.alliedmods.net/Category:CS_Class_List
For HAM Offsets see this:
hamdata.ini in addons/amxmodx/config

Styles 11-09-2009 06:06

Re: weapon_*
 
well pdata offsets and ham basic offsets. I was never great at finding them on my own.

ot_207 11-09-2009 06:08

Re: weapon_*
 
Quote:

Originally Posted by styles (Post 984891)
well pdata offsets and ham basic offsets. I was never great at finding them on my own.

Ham offsets are needed to run the functions, in my opinion you do not need to know them. The pdata are the ones that you need finding them. Look at my post above I have edited it.

Styles 11-09-2009 06:12

Re: weapon_*
 
Thanks, since when was the wiki updated? lol

One last thing..
Are there any "OnEntityDestroyed" type functions I'm over looking? I know there's a hook for source mod, but I haven't seen one for amxx.

Forgive me for the stupid questions, it's late and trying to finish a new version of weapon jam.

FM_RemoveEntity

Found it stpuid :p

ot_207 11-09-2009 06:13

Re: weapon_*
 
Ham_Killed, works for every entity.

Styles 11-09-2009 06:14

Re: weapon_*
 
o.0 thx lol alright that too :D


All times are GMT -4. The time now is 17:41.

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