Jump to content

onClientGUIClick leave up


HunT

Recommended Posts

Posted (edited)

Hi guys.

I need the solution for make the CUE botton :/

The botton cue dj console type tracktor.

Press the botton playSound (onClientGUIClick is ok)

But I need stopSound "onClientGUIClickLeave or up"

Type Mouse enter / leave but with click

Solution? Or need new event?

Tnx.

Edited by Guest
Guest Guest4401
Posted

Type Mouse enter / leave but with click

:/ i know this tnx but I need with click

I don't think what you are trying to achieve is possible at the moment.

The wiki @ onClientGUIClick says:

state: the state of the mouse button, will be down if the mouse button was pushed, or up if it was released. Please note currently only the up state is supported.
Posted (edited)

But I can use the onClientGUIClick for playSound and onClientMouseLeave for stopSound :D

I forget this.

Ok tnx.

=

FAIL

Edited by Guest
Posted

onClientMouseLeave is not good for the CUE :/

Why this event stop the sound over the botton,but I need stopSound click leave.

Other solution ?

Sorry for db post.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...