VenomOG Posted February 10, 2018 Posted February 10, 2018 Hey how to make a DX box a button and when I click the button the DX panel closes any help?
URBAN Posted February 10, 2018 Posted February 10, 2018 https://wiki.multitheftauto.com/wiki/IsMouseInPosition and bindKey İstikbal göklerdedir.
VenomOG Posted February 10, 2018 Author Posted February 10, 2018 Okey lets say in Server side when i click "Accept" button it removes a player from Jail and he has to pay a Fine of his charges? any help and ALso when i click Accept the panel disappeares
NeXuS™ Posted February 10, 2018 Posted February 10, 2018 This has to be client-sided, as you can only use dx functions on client-side. You'll have to use triggerServerEvent for the setPlayerMoney, as it has to be synchronized. For the panel, Drawing functions. To detect the click, onClientClick and isMouseInPosition. Did I help you? NeXuS™#0001
Moderators thisdp Posted February 11, 2018 Moderators Posted February 11, 2018 Why not seek a dx lib?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now