Desaster Posted October 28, 2013 Share Posted October 28, 2013 what's the problem ? Client : addEvent("onPlayerEnter", true) addEventHandler("onPlayerEnter", resourceRoot, function() GUIEditor.button[1] = guiCreateButton(0.57, 0.82, 0.21, 0.10, "spawn", true) guiSetFont(GUIEditor.button[1], "sa-header") GUIEditor.button[2] = guiCreateButton(0.43, 0.82, 0.13, 0.10, "<<<", true) guiSetFont(GUIEditor.button[2], "sa-gothic") GUIEditor.button[3] = guiCreateButton(0.78, 0.82, 0.13, 0.10, ">>>", true) guiSetFont(GUIEditor.button[3], "sa-gothic") end ) Server: addEventHandler ( 'onPlayerLogin', getRootElement ( ), triggerClientEvent ( "onPlayerEnter1", source, source ) ) Link to comment
Chopper Posted October 28, 2013 Share Posted October 28, 2013 There isnt any event called onPlayerEnter1. Link to comment
TAPL Posted October 28, 2013 Share Posted October 28, 2013 Server: addEventHandler("onPlayerLogin", root, function() triggerClientEvent(source, "onPlayerEnter", source) end) Link to comment
Desaster Posted October 28, 2013 Author Share Posted October 28, 2013 still not Work ! Link to comment
Castillo Posted October 28, 2013 Share Posted October 28, 2013 Do you have the "GUIEditor" table defined? 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