Arkadaşlar login panel yapmaya çalışıyorum bir sarı hata aldım anlayamadım yardım edermisiniz
addEventHandler("onClientGUIClick",root,function()
if source == giris_b then
local kullaniciadi = guiGetText(textboxadi)
local sifre = guiGetText(textboxsifre)
if kullaniciadi ~= "" then
if sifre ~= "" then
triggerServerEvent("girisyap",localplayer,kullaniciadi,sifre)
else
outputChatBox("Şifre Yazınız!",255,0,0,true)
end
else
outputChatBox("Kullanıcı Adı Yazınız!",255,0,0,true)
end
elseif source == kayit_b then
local kullaniciadi = guiGetText(textboxadi)
local sifre = guiGetText(textboxsifre)
if kullaniciadi ~= "" then
if sifre ~= "" then
if kullaniciadi ~= sifre then
triggerServerEvent("kayitOl",localplayer,kullaniciadi,sifre)
else
outputChatBox("Kullanıcı Adı ve Şifre aynı olamaz",255,0,0,true)
end
else
outputChatBox("Şifre Yazınız!",255,0,0,true)
end
else
outputChatBox("Kullanıcı Adı Yazınız!",255,0,0,true)
end
end
end)