AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Esf- Adding new weapons? (https://forums.alliedmods.net/showthread.php?t=25663)

Rixorster 03-18-2006 02:49

Esf- Adding new weapons?
 
Like, how can i add new weapon to Esf, so that it appears on the weapons list? one guy told me this:
Quote:

You can to hook into the weaponlist, curweapon and weaponupdate message to do it, that's my tip for you.
So how can i actually do that? >_< *I'm little helpless here*

Rixorster 03-18-2006 13:02

*Bumpety bumpety*
Help me pleaseee >_<!

SSJ2GOKU 03-21-2006 09:04

create a new weaponfile under the sprites folder
for example: newweaponname.txt

then do

Code:
give_item(id,"newweaponname")

in your code

Rixorster 03-21-2006 09:51

well, i have coded all the sprites that appear when using the "weapon", but im still wondering is that the only way?

SSJ2GOKU 03-22-2006 04:12

thats the only way i know


All times are GMT -4. The time now is 16:32.

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