1LoL1 Posted August 26, 2015 Share Posted August 26, 2015 Hello, can anyone please fix this? i don´t know why this not work. i see only text EN but when i have lang else i see text EN. function test(Player) if getElementData(localPlayer, "lang") == "EN" then outputChatBox("TEST1", root, 255, 255, 255, true) else outputChatBox("TEST2", root, 255, 255, 255, true) end end setTimer(test, 2000, 0) Link to comment
iMr.SFA7 Posted August 26, 2015 Share Posted August 26, 2015 -- Client Side function test( ) if getElementData(localPlayer, "lang") == "EN" then outputChatBox("TEST1", 255, 255, 255, true) else outputChatBox("TEST2", 255, 255, 255, true) end end setTimer(test, 2000, 0) Link to comment
iMr.SFA7 Posted August 26, 2015 Share Posted August 26, 2015 It is Client Side not Server Side Link to comment
1LoL1 Posted August 26, 2015 Author Share Posted August 26, 2015 It is Client Side not Server Side Thanks work. Link to comment
iMr.SFA7 Posted August 26, 2015 Share Posted August 26, 2015 It is Client Side not Server Side Thanks work. You are welcome . 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