login panel yaparken şurda hata alıyorum You have sucessfully logged in! yazısı çıkmıyor
(https://i.hizliresim.com/GmGgbN.png)
function addNotification(player, text, type)
if (player and text and type) then
triggerClientEvent(player, 'addNotification', player, text, type);
end
end
function loginPlayer(source, username, password)
local account = getAccount(username, password)
if (account ~= false) then
logIn(source, account, password)
for i=1,30 do
end
triggerClientEvent(source, "onClientPlayerLogin", source)
addNotification(source, "You have sucessfully logged in!", "success")
else
addNotification(source, "Your username or password is incorrect!", "error")
end
end
addNotification kodunu çalıştırmadım