local accountsWhitelist = {
["Allawi"] = true,
["ALw7sH"] = true,
}
function openWindow(player)
if not isGuestAccount(getPlayerAccount(player)) then
for accounts in pairs(accountsWhitelist) do
if getAccount(accounts) then
if getAccountName(getPlayerAccount(player)) == accounts then
triggerClientEvent(player,"onPlayerWantToShowWindow",player)
break
end
end
end
end
end
addCommandHandler("window",openWindow)