08-01-2011, 18:10
08-01-2011, 18:11
(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
(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
(08-01-2011, 18:44)Puffiamo Wrote: [ -> ]Use ActionslotTwoButtonPressed() that one is unused. (Nukem told me this )(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, 23:20
(08-01-2011, 19:04)Cyborgking Wrote: [ -> ](08-01-2011, 18:44)Puffiamo Wrote: [ -> ]Use ActionslotTwoButtonPressed() that one is unused. (Nukem told me this )(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); ?
and what button is?
EDIT: is the buttom 7