Jaysds1 Posted May 16, 2011 Posted May 16, 2011 How do you make the Gui's be in order? Example: 1.Login 2.Rules 3.Spawn Gui
Castillo Posted May 16, 2011 Posted May 16, 2011 Well, that's pretty simple, when you login show the rules GUI and then the Spawn menu.
Jaysds1 Posted May 16, 2011 Author Posted May 16, 2011 And How do you show the Spawn Gui After Death? and if they do /kill how do you make a time limit, like they have to wait 30 sec before they die?
Castillo Posted May 16, 2011 Posted May 16, 2011 addCommandHandler("kill", function (player) setTimer(killPed,30000,1,player) outputChatBox("You will die in 30 seconds!",player,255,0,0) end) addEventHandler("onClientPlayerWasted",getLocalPlayer(), function () guiSetVisible(myGUI,true) end)
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