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 ) ){
//they are trying to create somethign
//lets get rid of the "/create" part
copy( said, 127, said[8] );
//said now contains the part after create
}
Now saving it, I don't know how the guns menus work, but i'll assume you can save the values into a string and load it from a string. So lets say we are trying to save "ak47 deagle all_nades". And we'll pretend that is stored in a string called
my_weaps.
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];
get_user_authid(id, authid, 31);
formatex(vaultSaveKey,39,"MyGuns-%s-%s", authid, said);
set_vaultdata(vaultSaveKey, my_weaps)
and to load it
Code:
new his_weaps[150];
new vaultSaveKey[40], authid[32];
get_user_authid(id, authid, 31);
formatex(vaultSaveKey,39,"MyGuns-%s-%s", authid, said);
get_vaultdata(vaultSaveKey, his_weaps, 150);
his_weaps should be "ak47 deagle all_nades"