creating sets? please help
Well recently I released v1.0 of my new plugin called "Super-Advanced Weapon Giver". [Link in my signature]
The thing about this weapon giver is that all users can use the command, not just admins. Also, there are custom "item packs" like sniper, rambo, assault, and more so that if you wanted to be a sniper one round, you could just type /sniper! (etc etc) I got a request asking for a feature that lets users create their own "packs" ingame. Check out the code (link to post is in my signature) I'm currently using for this plugin and see if you can help me out a little bit with this problem? I really want this to be done, but I don't know where to start. So basically I'm saying I want added onto my script: ~~~~~~~~~~~~~~ I want users to be able to say " /custom " during the game. When they say /custom, a menu appears saying "Please select the guns you would like to be in your custom pack." With the options of "Okay" or "Cancel". If they "cancel", close the menu. If they press OKAY, a new menu appears with the title "PISTOLS" and it lists all the pistols in the game. The player chooses 1 pistol from the menu and then it goes to another menu titled "SMG" and it lists all the SMGs. Etc Etc (with the titles being: pistols, smgs, rifles, shotguns, and then have "Machine Guns" where they can choose if they want a para or not). And then when they type "/mypack" (no quotes) it checks the guns they selected and gives those guns. Whenever that SteamID joins the server they can type /mypack and it will give those guns! If the player says /custom but they already have a pack, it would say like "Are you sure you want a new pack to overwrite the current pack you have?" If a player says /mypack but they dont have a pack, it will say "Type /custom to make a pack!" I know this is a LOT to ask, but it would help greatly.. Thanks in advance to anybody that can help out!! |
Re: creating sets? please help
can nobody assist?
|
Re: creating sets? please help
So you'r asking for menu creation or conceptual model ?
|
Re: creating sets? please help
Like for somebody to code this for me but give some facts of what the code is doing (like put // in front of some lines to describe what that certain part of the code is doing)
The thing is I have no idea how to set it so that a user can create their own menu by typing "custom" and giving them the weapons they chose. And then how to save it so that every time that STEAMID joins the server and types /mypack, it loads their "custom pack" ;( ++karma anybody? Really need help ;( |
| All times are GMT -4. The time now is 21:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.