Stevenn Posted June 24, 2012 Share Posted June 24, 2012 hello, how can i set the text server sided? I tried this but it did not work!: function randomTest(text) guiSetText (myLabel, text) end addEvent("randomTest", true) addEventHandler("randomTest", root, randomTest) and server: triggerClientEvent(source,"randomTest", root, "the text") Link to comment
Castillo Posted June 24, 2012 Share Posted June 24, 2012 It has to work, what is 'source' in your script? Link to comment
Stevenn Posted June 24, 2012 Author Share Posted June 24, 2012 Yea it did work, I had wrong gui element my misstake. Link to comment
Stevenn Posted June 25, 2012 Author Share Posted June 25, 2012 Woah, double mistake the code worked nevermind Link to comment
Castillo Posted June 25, 2012 Share Posted June 25, 2012 I don't see anything wrong at your code. 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