Raised This Month: $ Target: $400
 0% 

creating sets? please help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
iHaxor.Stan
BANNED
Join Date: Jul 2007
Old 07-12-2007 , 18:57   creating sets? please help
Reply With Quote #1

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!!
iHaxor.Stan is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:30.


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