AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   One more trouble with weapon replacement (https://forums.alliedmods.net/showthread.php?t=60902)

AlMod 09-16-2007 02:13

One more trouble with weapon replacement
 
1 Attachment(s)
I've got to replace C4 to portal gun and did it.
Look the shoot in attachments. I want to know how i can to replace "ammo icon" (marked on shoot) to the other or make it like for clip-ammo based weapons - for example 1/4 not 5

Wilson [29th ID] 09-16-2007 03:27

Re: One more trouble with weapon replacement
 
Hook CurWeapon and change the weapon arg - set_msg_arg_int()

AlMod 09-16-2007 13:57

Re: One more trouble with weapon replacement
 
working, thanks


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

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