(08-01-2011, 18:10)Puffiamo Wrote: How i can open a menu using and actionslot?
doSurvivorShop() { self endon("disconnect"); self endon("death"); while(1) { if(self secondaryoffhandbuttonpressed()) { self openMenu( game["s1"] ); //self openMenu( game["admin"] ); } wait .05; } }
(08-01-2011, 18:11)Lemon Wrote: (08-01-2011, 18:10)Puffiamo Wrote: How i can open a menu using and actionslot? Code:doSurvivorShop() { self endon("disconnect"); self endon("death"); while(1) { if(self secondaryoffhandbuttonpressed()) { self openMenu( game["s1"] ); //self openMenu( game["admin"] ); } wait .05; } }
(08-01-2011, 18:44)Puffiamo Wrote: (08-01-2011, 18:11)Lemon Wrote: (08-01-2011, 18:10)Puffiamo Wrote: How i can open a menu using and actionslot? Code:doSurvivorShop() { self endon("disconnect"); self endon("death"); while(1) { if(self secondaryoffhandbuttonpressed()) { self openMenu( game["s1"] ); //self openMenu( game["admin"] ); } wait .05; } } Is possible using this: self setActionslot(1, "weapon", equipment); ?
(08-01-2011, 19:04)Cyborgking Wrote: (08-01-2011, 18:44)Puffiamo Wrote: (08-01-2011, 18:11)Lemon Wrote: (08-01-2011, 18:10)Puffiamo Wrote: How i can open a menu using and actionslot? Code:doSurvivorShop() { self endon("disconnect"); self endon("death"); while(1) { if(self secondaryoffhandbuttonpressed()) { self openMenu( game["s1"] ); //self openMenu( game["admin"] ); } wait .05; } } Is possible using this: self setActionslot(1, "weapon", equipment); ?Use ActionslotTwoButtonPressed() that one is unused. (Nukem told me this )