Jump to content

[HELP]Vip Panel


LasHa

Recommended Posts

addEventHandler("onClientGUIClick", closeButton, closeWindow, false) 
addEventHandler("onClientGUIClick", buyVipButton, openWindow1, false) 
addEventHandler("onClientGUIClick", buyingCloseButton, closeWindow1. false) 
addEventHandler("onClientGUIClick", backButton, backWindow, false) 
addEventHandler("onClientGUIClick", First, finishFirstOpen, false) 
addEventHandler("onClientGUIClick", finishFirstCancel, finishFirstClose, false) 

Add 'false' at end of onClientGUIClick events, that makes it forced to be triggered only when clicked on child but not on parent.

Link to comment

Thank you very much it works fine. i just have small problem. I want to connect setElementData to setTimer. like that if player buys 2000 hours of VIP, 2000 hours timer will start. and can i get remaining time and to add ElementData to that remaining time?

Link to comment

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...