Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2015-03-12, 15:29


Mateusz512







Wiek: 27
Na forum: 4511 dni
Posty: 44



Respekt: 50

Witam, od pewnego czasu zmagam si? z problemem na serwerze freeroam, mianowicie gdy wpisuj? /register (login) (has?o) wyskakuje mi komunikat "Unknown error", gdy zrobi?reinstal serwera dzia?a dobrze, lecz gdy wgram sw?j acl zn?w nie dzia?a.

Prosz? o szybk? pomoc.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-03-12, 20:21


MeeShuffle

Programista/Grafik






Wiek: 32
Na forum: 4394 dni
Posty: 2758
Nick w MP: Shuffle

Piwa: 8575

Respekt: 535,3
Respekt: 535,3

Konto istnieje?

Podpis

https://shufflecode.pl
Static Codes and Graphics - Join our discord!
Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-03-12, 20:51


Mateusz512







Wiek: 27
Na forum: 4511 dni
Posty: 44



Respekt: 50

Ju? naprawione, problemem by?a komenda zablokowana w acl'u przy randze SuperModerator, lecz teraz zacz?? mi nie dzia?a? skrypt na tagi...

Oto kod, jest tutaj te? podczepiony antispam wi?c nie wiem dlaczego nie chce dzia?a? je?li wczoraj wszystko pi?knie chodzi?o.


function chatboxtexttype)
if not getElementData(source,"blockspam"then
if type==0 then

    if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Wlasciciel")) then
 cancelEvent()
        local rggetPlayerNametagColor(source)
        outputChatBox("#3366FF-|> W?a?ciciel <|-#FFFFFF " .. getPlayerName source ) .. ":#9999CC " .. textgetRootElement(), rgbtrue )
        outputServerLog("CHAT: [W?a?ciciel] " .. getPlayerName source ) .. ": " .. text)
        
            elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("SuperAdmin")) then
 cancelEvent()
        local rggetPlayerNametagColor(source)
        outputChatBox("#FF3300|> S-Admin <|#FFFFFF " .. getPlayerName source ) .. ":#FF3333 " .. textgetRootElement(), rgbtrue )
        outputServerLog("CHAT: [S-Admin] " .. getPlayerName source ) .. ": " .. text)

    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Admin")) then
 cancelEvent()
        local rggetPlayerNametagColor(source)
        outputChatBox("#FF0000|> Admin <|#FFFFFF " .. getPlayerName source ) .. ":#FF3366 " .. textgetRootElement(), rgbtrue )
        outputServerLog("CHAT: [Admin] " .. getPlayerName source ) .. ": " .. text)

    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("JuniorAdmin")) then
 cancelEvent()
        local rggetPlayerNametagColor(source)
        outputChatBox("#FF6600-|> JuniorAdmin <|-#FFFFFF " .. getPlayerName source ) ..":#FF6666 " .. textgetRootElement(), rgbtrue )
        outputServerLog("CHAT: [JuniorAdmin] " .. getPlayerName source ) .. ": " .. text)

    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("SuperModerator")) then
 cancelEvent()
        local rggetPlayerNametagColor(source)
        outputChatBox("#00FF00|> S-Mod <|#FFFFFF " .. getPlayerName source ) ..":#93DB70 " .. textgetRootElement(), rgbtrue )
        outputServerLog("CHAT: [SuperModerator] " .. getPlayerName source ) .. ": " .. text)

    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Moderator")) then
 cancelEvent()
        local rggetPlayerNametagColor(source)
        outputChatBox("#6B8E23|> Mod <|#FFFFFF " .. getPlayerName source ) .. ":#99CC00 " .. textgetRootElement(), rgbtrue )
        outputServerLog("CHAT: [Moderator] " .. getPlayerName source ) .. ": " .. text)

   elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Support")) then
 cancelEvent()
        local rggetPlayerNametagColor(source)
        outputChatBox("#006699|> Support <|#FFFFFF " .. getPlayerName source ) .. ":#6699CC " .. textgetRootElement(), rgbtrue )
        outputServerLog("CHAT: [Support] " .. getPlayerName source ) .. ": " .. text)
    
   elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Premium")) then
 cancelEvent()
        local rggetPlayerNametagColor(source)
        outputChatBox("#FFFF00|> Premium <|#FFFFFF " .. getPlayerName source ) .. ":#FFFFFF " .. textgetRootElement(), rgbtrue )
        outputServerLog("CHAT: [Support] " .. getPlayerName source ) .. ": " .. text)

    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("SVip")) then
 cancelEvent()
        local rggetPlayerNametagColor(source)
        outputChatBox("#999966|> SuperVIP <|#FFFFFF " .. getPlayerName source ) .. ":#FFFFFF " .. textgetRootElement(), rgbtrue )
        outputServerLog("CHAT: [SuperVIP] " .. getPlayerName source ) .. ": " .. text)
        
        elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Vip")) then
 cancelEvent()
        local rggetPlayerNametagColor(source)
        outputChatBox("#999900|> VIP <|#FFFFFF " .. getPlayerName source ) .. ":#FFFFFF " .. textgetRootElement(), rgbtrue )
        outputServerLog("CHAT: [VIP] " .. getPlayerName source ) .. ": " .. text) 

    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then
 cancelEvent()
        local rggetPlayerNametagColor(source)
        outputChatBox("#FF9900|> Konsola <|#FFFFFF " .. getPlayerName source ) .. ":#FFFFFF " .. textgetRootElement(), rgbtrue )
        outputServerLog("CHAT: [Konsola] " .. getPlayerName source ) .. ": " .. text)
    
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Everyone")) then
 cancelEvent()
        local rggetPlayerNametagColor(source)
        outputChatBox("#C0C0C0|> Gracz <|#FFFFFF " .. getPlayerName source ) .. ":#FFFFFF " .. textgetRootElement(), rgbtrue )
        outputServerLog("CHAT: [Gracz] " .. getPlayerName source ) .. ": " .. text)
    
       end
    end
end
      
addEventHandler("onPlayerChat"getRootElement(), chatbox)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-03-12, 22:42


Prezes.







Wiek: 27
Na forum: 4370 dni
Posty: 75
Nick w MP: Prezes.

Piwa: 17

Respekt: 60

B??dy w db3?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2015-03-13, 11:39


Mateusz512







Wiek: 27
Na forum: 4511 dni
Posty: 44



Respekt: 50

Nie ma b??d?w w?a?nie.

Postaw piwo autorowi tego posta
 

 
Tagi: nie :: działa :: /register
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA » Nie działa /register Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku