totti Posted January 27, 2013 Posted January 27, 2013 i made a gui in my server by gui editor and i wanna make it appears autumaticaly when player dies...
toptional Posted January 27, 2013 Posted January 27, 2013 i made a gui in my server by gui editor and i wanna make it appears autumaticaly when player dies... Give us the code so we can help you
totti Posted January 27, 2013 Author Posted January 27, 2013 u mean the code of the gui???i mean i use which function and if u can give me some of beginning will be so pleased
MR.S3D Posted January 27, 2013 Posted January 27, 2013 use this Event [url=https://wiki.multitheftauto.com/wiki/OnClientPlayerWasted]https://wiki.multitheftauto.com/wiki/OnC ... ayerWasted[/url]
totti Posted January 27, 2013 Author Posted January 27, 2013 other thing how can i make when i press on a button on this gui the player go to spawn screen or othe button make him go to hospital???
manve1 Posted January 27, 2013 Posted January 27, 2013 use event name called: onClientGUIClick --or onClientGUIDoubleClick
totti Posted January 27, 2013 Author Posted January 27, 2013 ty guys if u can give me the beginning i will be pleased
Lloyd Logan Posted January 27, 2013 Posted January 27, 2013 ty guys if u can give me the beginning i will be pleased Considering you haven't given us the code... spawnButton = guiCreateButton(etc) addEventHandler("onClientGUIClick", spawnButton, spawnHosp) function spawnHosp( thePlayer ) setElementPostition( thePlayer, co-ordinate x, co-orinate y, co-ordinate z ) 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