Jump to content

[HELP] Whats Wrong ??


Recommended Posts

Hello ,

Why i just got nill text , but i can save it on mysql .. i think the problem is on get this text

Client

  
local motd = getElementData(source, "account:motd") or "" 
  
addEvent("motdAjah", true) 
addEventHandler("motdAjah", root, 
function () 
local screenWidth, screenHeight = guiGetScreenSize() 
  
  
    triggerEvent("noticeMP", root) 
    as = guiCreateStaticImage (screenWidth/4.5,screenHeight/1.2,600,70,"img/box.png", false) 
    InfoIcon = guiCreateStaticImage ( 15 , 15 , 40, 40 ,"img/icon/motdi.png", false , as) 
    Notice1 = guiCreateLabel( 70, 20, 600, 60, motd, false, as ) 
    guiSetFont(Notice1, text12) 
    guiLabelSetColor(Notice1,221,137,39) 
    setTimer ( function() 
        destroyElement(as) 
    end, 10000, 1 ) 
end 
) 
  

Server

  
triggerClientEvent("motdAjah", source) 
  

Link to comment

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