AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Change a Weapons Slot (https://forums.alliedmods.net/showthread.php?t=274948)

SkumTomteN 11-18-2015 17:37

Change a Weapons Slot
 
Hello.

Is it possible to change a weapons slot?, Example: Put M4a1 on HE Grenade slot.

or is amxx not powerful enough for these kind of changes?.

OciXCrom 11-18-2015 17:57

Re: Change a Weapons Slot
 
Nope and totally unnecessary.

SkumTomteN 11-18-2015 18:07

Re: Change a Weapons Slot
 
Quote:

Originally Posted by OciXCrom (Post 2364283)
Nope and totally unnecessary.

Maybe unnecessary for you. i wouldnt ask if i didnt want it for something.

Bugsy 11-18-2015 18:17

Re: Change a Weapons Slot
 
This has been done.

https://forums.alliedmods.net/showpo...22&postcount=6

Slot 3 is grenade, tested and working.

NiHiLaNTh 11-18-2015 18:35

Re: Change a Weapons Slot
 
AFAIK WeaponList message can do that. Just remember that, when you send WeaponList message you need to provide slot 3 if you want to see your weapon in grenade slot (i.e real slot value - 1).
Also you can try hooking Ham_Item_ItemSlot. Here you need to provide real slot value (4 in your case).

SkumTomteN 01-07-2016 17:58

Re: Change a Weapons Slot
 
Quote:

Originally Posted by NiHiLaNTh (Post 2364301)
AFAIK WeaponList message can do that. Just remember that, when you send WeaponList message you need to provide slot 3 if you want to see your weapon in grenade slot (i.e real slot value - 1).
Also you can try hooking Ham_Item_ItemSlot. Here you need to provide real slot value (4 in your case).

Thank you.


All times are GMT -4. The time now is 18:09.

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