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

Wysłany: 2014-09-15, 19:38


mrmay4141

KOR Gaming Innovator






Wiek: 29
Na forum: 5001 dni
Posty: 86
Nick w MP: Sexyvise

Piwa: 4

Respekt: 50

Ostrzeżeń: 20%
Witam, mam problem ze skryptem TopTime.
Chcia?bym aby kolory zapisane w kodzie si? pojawia?y i ?eby po by
nie by?o wida? loginu gracza.

addCommandHandler( "deltime",
    function( player, cmd, place )
        if not _TESTING and not isPlayerInACLGroup(player, g_Settings.admingroup) then
            return
        end
        if g_SToptimesManager and g_SToptimesManager.mapTimes then
            local row = g_SToptimesManager.mapTimes:deletetime(place)
            if row then
                g_SToptimesManager:updateTopText()
                local mapName = tostring(g_SToptimesManager.mapTimes.mapName)
                local placeText = place and " #" .. tostring(place) or ""
                outputChatBox( "#ff0000[TopPlayer] Player #ffffff'" ..tostring(row.playerName).. "' #ff0000 has been delete from "..placeText.."  by  #ffcc00" .. getAdminNameForLog(player) )
            end
        end


Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-09-15, 20:32


BlackTen

LUA Dev.






Wiek: 28
Na forum: 4471 dni
Posty: 698

Piwa: 2080

Respekt: 157
Respekt: 157Respekt: 157

spr?buj tak
addCommandHandler( "deltime",
    function( player, cmd, place )
        if not _TESTING and not isPlayerInACLGroup(player, g_Settings.admingroup) then
            return
        end
        if g_SToptimesManager and g_SToptimesManager.mapTimes then
            local row = g_SToptimesManager.mapTimes:deletetime(place)
            if row then
                g_SToptimesManager:updateTopText()
                local mapName = tostring(g_SToptimesManager.mapTimes.mapName)
                local placeText = place and " #" .. tostring(place) or ""
                outputChatBox( "#ff0000[TopPlayer] Player #ffffff'" ..tostring(row.playerName).. "' #ff0000 has been delete from "..placeText.."  by  #ffcc00" ..  )
            end
        end


Postaw piwo autorowi tego posta
 

 
Tagi: kolory :: tekstu
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA » Kolory tekstu 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