Post: Problem with if Button Pressed
08-14-2012, 05:03 PM #1
seb5594
Proud Former Admin
(adsbygoogle = window.adsbygoogle || []).push({}); Hey NGU,
i have a Problem with my Host Power Patch.
Im work on a new Menu Open/Switch Back in Mod Menus.
I cant get this to work for my function.

    if (self fragButtonPressed() && self secondaryOffhandButtonPressed())



Hope anyone have a Idea how i can use L2 & R2 at the same time for Function Winky Winky
Thanks in advance
(adsbygoogle = window.adsbygoogle || []).push({});
08-14-2012, 05:11 PM #2
Cmd-X
It's been awhile.
Originally posted by seb5594 View Post
Hey NGU,
i have a Problem with my Host Power Patch.
Im work on a new Menu Open/Switch Back in Mod Menus.
I cant get this to work for my function.

    if (self fragButtonPressed() && self secondaryOffhandButtonPressed())



Hope anyone have a Idea how i can use L2 & R2 at the same time for Function Winky Winky
Thanks in advance


I think that's right, I don't see a problem.

    if(self fragButtonPressed() && self secondaryOffhandButtonPressed())
08-14-2012, 05:26 PM #3
seb5594
Proud Former Admin
Originally posted by X View Post
I think that's right, I don't see a problem.

    if(self fragButtonPressed() && self secondaryOffhandButtonPressed())


Yeah looks right but doesnt work :(
08-14-2012, 05:29 PM #4
Cmd-X
It's been awhile.
Originally posted by seb5594 View Post
Yeah looks right but doesnt work :(


Try this:

    
Thread()
{
self endon("death");
self notifyOnPlayerCommand( "f", "+frag" );
self notifyOnPlayerCommand( "s", "+smoke" );
for(;Winky Winky
{
self waittill("f"&&"s");
//Function
//Function
}
}

The following user thanked Cmd-X for this useful post:

08-14-2012, 06:02 PM #5
seb5594
Proud Former Admin
Originally posted by X View Post
Try this:

    
Thread()
{
self endon("death");
self notifyOnPlayerCommand( "f", "+frag" );
self notifyOnPlayerCommand( "s", "+smoke" );
for(;Winky Winky
{
self waittill("f"&&"s");
//Function
//Function
}
}


Doesnt work but thank you
08-14-2012, 06:02 PM #6
Cmd-X
It's been awhile.
Originally posted by seb5594 View Post
Doesnt work but thank you


Then I really have no clue how you would do that.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo