Jump to content

Help with gui window!


Recommended Posts

Posted

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)!

Posted
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)!

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