"client side :"
label = guiCreateLabel(x, y, xx, yy, "", false)
guiLabelSetColor(label, 255, 0, 0)
guiSetFont(label, "default-small")
local wrongPass = label
addEvent("wrongPass", true)
addEventHandler("wrongPass", root,
function()
guiSetText(wrongPass, "Wrong Password !")
end )
"Server Side"
واعمل فى ملف السيرفر لما يكون الباسوورد غلط الكود ده
triggerClientEvent(source, "wrongPass", source)
وبس