situverd1992 Posted April 6, 2010 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
dzek (varez) Posted April 7, 2010 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] Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
situverd1992 Posted April 7, 2010 Author Posted April 7, 2010 Maybe somone help me to make one gui window ? then I can make other gui windows by my self??
50p Posted April 7, 2010 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 ); - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
dzek (varez) Posted April 7, 2010 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 Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
situverd1992 Posted April 7, 2010 Author 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
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