Saving what a user decides on a menu
Well I know how to make a menu where it says "New Guns" like CSDM or zombie infection, and I know how to work the whole menus thing.
BUT.. Here's my idea: A user types /createNAME replacing NAME with anything they want. Then a menu comes up like the csdm gun menu. Then, every time they user logs back on they type /NAME which is whatever they put where they did /createNAME and the guns they chose is given. For example - I type /createMYGUNS. Gun menu comes up like CSDM and I choose ak47, deagle, all nades. Then I leave server. Come back tomorrow or something and type /MYGUNS and get ak47,deagle,all nades. I know how to do menus, and hook say, and all that but where it saves what they named the pack and then actually saving it that gets me. Is it possible? |
Re: Saving what a user decides on a menu
Yes it's possible.
When you are detecting what they said, you have a string (let's call it said) Code:
if( equal( said, "/create", 7 ) ){Now you can save it in either with vault or nvault (i'll be showing vault because it is slightly easier, but also slower) Code:
new vaultSaveKey[40], authid[32];Code:
new his_weaps[150]; |
Re: Saving what a user decides on a menu
so much confusing code but I'm working on it
thanks a lot |
Re: Saving what a user decides on a menu
And how to give the weapons that are saved?
I mean...if ak47 deagle all_nades is saved, when the user connects, how to give that weapon and not another weapont, isn't more hard? |
| All times are GMT -4. The time now is 05:33. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.