| Tematy otagowane jako: admintag |
| 1. Podwójnie pisanie admintag |
| Po wgraniu admintaga, zaczynam podw?jnie pisa?. Jak to naprawi?? |
| 2. [SKRYPT] AdminTag |
Witam, chcia?bym udost?pni? wam pierwszy m?j skrypt, kt?rym jest Admin-Tag. Je?li zobaczycie jaki? b??d to piszcie [code]function clear ( thePlayer )
local cuenta = getAccountName( getPlayerAccount(thePlayer) )
if isObjectInACLGroup("user."..cuenta, aclGetGroup("Admin")) then -- Grupa Admina
spaces(thePlayer)
elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("SuperModerator")) then -- Grupa SuperModerator?w
spaces(thePlayer)
elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Moderator")) then -- Grupa Moderator?w
spaces(thePlayer)
elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Console")) then -- Grupa Konsoli
spaces(thePlayer)
else
outputChatBox("Nie jeste? z Administracji", thePlayer, 255, 0, 0, true) -- Bez ACL'ki wy?ej wymienionej, nie wyczy?cisz czatu
end
end
addCommandHandler("cc", clear)
function spaces(thePlayer)
outputChatBox(" ")
outputChatBox(" ")
outputChatBox(" ")
outputChatBox(" ")
outputChatBox(" ")
outputChatBox(" ")
outputChatBox(" ")
outputChatBox(" ")
outputChatBox(" ")
outputChatBox(" ")
outputChatBox(" ")
outputChatBox(" ")
outputChatBox(" ")
outputChatBox(" ")
outputCh... |
|