AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   HamSandwich Replacement of CurWeapon (https://forums.alliedmods.net/showthread.php?t=298875)

gameplayonline 06-24-2017 15:53

HamSandwich Replacement of CurWeapon
 
Is there in HamSnadwich any replacement of CurWeapon? I need register event at weapon change

wickedd 06-24-2017 16:30

Re: HamSandwich Replacement of CurWeapon
 
Ham_Item_Deploy

gameplayonline 06-24-2017 16:55

Re: HamSandwich Replacement of CurWeapon
 
Thank you and how can i use it please?
This is my register event
Code:

register_event("CurWeapon" , "cur_weapon" , "be" , "1=1")

EFFx 06-24-2017 17:25

Re: HamSandwich Replacement of CurWeapon
 
You can search about that ham const, there's so many topics about this.

gameplayonline 06-24-2017 17:42

Re: HamSandwich Replacement of CurWeapon
 
I already tried... all what i find is use with weapon knife and in amx api i cant find any commands what i can use...
http://www.amxmodx.org/api/hamsandwich/RegisterHam
Here i can see use function this but when try to find function this i still find only that tread with no result what i can use if i will have 20 weapons skins etc...

EFFx 06-24-2017 17:48

Re: HamSandwich Replacement of CurWeapon
 
I'll give you a format that I use (maybe others people use too) for find what I/they want:

Using your question:

Ham_Item_Deploy amxx site:forums.alliedmods.net

Try that way.


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

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