Jump to content

[HELP] Script not work


1LoL1

Recommended Posts

Posted

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) 

Posted

-- 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) 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...