AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Script Assistance]CARMORY (https://forums.alliedmods.net/showthread.php?t=207693)

Commando950 02-05-2013 16:01

[Script Assistance]CARMORY
 
Hello everyone,Hope I am not wasting your time I am planing to make a menu that lets me use server commands I don't feel like typing out at all or remembering!!!

Useful Information
!givew <Player Name> <weapon id> - Is the command that is used for the final product!

This is supposed to be a plugin menu that will let me choose a player,then weapon class,then weapon slot,then a weapon, and then finally execute the above command as if a player typed it!

The reason I wish to make it the givew command is so hard to remember ids and find what you want!

Any help is appreciated. Especially a rough/near complete of this!

Also how can you go from one menu to another? EX:You select scout menu then it goes to the scout Primary,Secondary, and Third slots!!

AddMenuItem(menu, "<How do I make another menu go to here?>", "Scout");

Thanks for any help ya give me!!!:)

fysiks 02-06-2013 00:51

Re: [Script Assistance]CARMORY
 
Quote:

Originally Posted by Commando950 (Post 1887801)
Also how can you go from one menu to another? EX:You select scout menu then it goes to the scout Primary,Secondary, and Third slots!!

AddMenuItem(menu, "<How do I make another menu go to here?>", "Scout");

When an item is chosen from the first menu, show the appropriate next menu. Also, AddMenuItem() does not exist in AMX Mod X.


All times are GMT -4. The time now is 20:33.

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