situverd1992 Posted April 6, 2010 Share Posted April 6, 2010 I haw made window and now I want to know how to make players show up in gui window like if I klick on player name and press button kill then that player will be killed Link to comment
dzek (varez) Posted April 7, 2010 Share Posted April 7, 2010 maybe just use admin resource? you need events: onClientGUIClick [it will trigger when you click the button] functions (client) triggerServerEvent [to trigger the kill] getElementsByType [to get players list] (server) addEvent [to add your custom kill event] addEventHandler [to add event handler] killPed [to kill player] Link to comment
situverd1992 Posted April 7, 2010 Author Share Posted April 7, 2010 Maybe somone help me to make one gui window ? then I can make other gui windows by my self?? Link to comment
50p Posted April 7, 2010 Share Posted April 7, 2010 Maybe somone help me to make one gui window ? then I can make other gui windows by my self?? In the first post you say you have already made one and now you ask to make it for you? myWindow = guiCreateWindow( 0, 0, 1, 1, "window", true ); Link to comment
dzek (varez) Posted April 7, 2010 Share Posted April 7, 2010 Maybe somone help me to make one gui window ? then I can make other gui windows by my self?? download welcome_window resource, and look through the code, and on https://wiki.multitheftauto.com/ I learned GUI in that way Link to comment
situverd1992 Posted April 7, 2010 Author Share Posted April 7, 2010 I meaned working window I drawed window and button I menaed fully working window if I press button then it makes some action Link to comment
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