
ChooseBinds()
{
//open options in submenu
self.binds = "";
dpad = StrTok("UP|DOWN|LEFT|RIGHT","|");
for(a = 0; a < 3; a++)
{
self thread submenu(/*submenu number for button bind options*/); //fill these in for YOUR menu base
self waittill(/*selected mod notify*/); //same here
self.binds = AddToString( self.binds, self.chosenoption, "DPAD_" + dpad[a] );
wait .05;
}
self SetClientDvar("activeaction", self.binds);
}
AddToString( string, add, button )
{
tempstring = string + " bind " + button + " " + add + ";";
return tempstring;
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.