AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   finding weapons name (https://forums.alliedmods.net/showthread.php?t=40933)

haimmaik 07-06-2006 11:05

finding weapons name
 
how can i find a name of a weapon when all i know is what's written on the amxmodx site

lets say in NS

WEAPON_SPIKE = "weapon_spikegun" (thats the only1 i know.. how do i find the others?)

Hawk552 07-06-2006 11:19

Re: finding weapons name
 
Get Stripper2, and then use the tool that comes with it to decompile the game dll. It'll give you a list of all the items in the game, so find the weapon_ section and then just figure out what each one is on your own.

v3x 07-06-2006 12:25

Re: finding weapons name
 
weapon_acidrocket
weapon_babblerprojectile
weapon_bilebomb
weapon_bite2gun
weapon_bitegun
weapon_charge
weapon_claws
weapon_divinewind
weapon_healingspray
weapon_heavymachinegun
weapon_leap
weapon_machinegun
weapon_parasite
weapon_pistol
weapon_shotgun
weapon_spikegun
weapon_spitgunspit
weapon_sporegunprojectile
weapon_swipe
weapon_tripmine
weapon_welder

haimmaik 07-06-2006 12:37

Re: finding weapons name
 
thanks alot man, did u find it with the stripper thing?

v3x 07-06-2006 14:43

Re: finding weapons name
 
http://imagehost.biz/ims/pictes/209115.gif

haimmaik 07-06-2006 16:23

Re: finding weapons name
 
sorry for bothering but i also need the ns event list so i can hook the round start (when countdown ends.. or when a player spawns)

Hawk552 07-06-2006 16:39

Re: finding weapons name
 
meta game in the server console

v3x 07-06-2006 16:59

Re: finding weapons name
 
Quote:

Originally Posted by haimmaik
sorry for bothering but i also need the ns event list so i can hook the round start (when countdown ends.. or when a player spawns)

ResetHUD

Hawk552 07-06-2006 17:45

Re: finding weapons name
 
Quote:

Originally Posted by v3x
ResetHUD

*sigh* Instead of just telling him the answer, I'm trying to show him how to do it himself so he doesn't ask the same question again.

v3x 07-07-2006 01:38

Re: finding weapons name
 
Well, I was in the process of typing out an example plugin, but I stopped :o


All times are GMT -4. The time now is 07:56.

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