Stevenn Posted June 24, 2012 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")
Castillo Posted June 24, 2012 Posted June 24, 2012 It has to work, what is 'source' in your script? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Stevenn Posted June 24, 2012 Author Posted June 24, 2012 Yea it did work, I had wrong gui element my misstake.
Castillo Posted June 24, 2012 Posted June 24, 2012 Ah, okay. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Stevenn Posted June 25, 2012 Author Posted June 25, 2012 Woah, double mistake the code worked nevermind
Castillo Posted June 25, 2012 Posted June 25, 2012 I don't see anything wrong at your code. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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