Wysłany: 2014-09-15, 19:38
mrmay4141
KOR Gaming Innovator
Wiek: 28 Na forum: 4860 dni Posty: 86
Nick w MP: Sexyvise
Piwa : 4
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
Wysłany: 2014-09-15, 20:32
BlackTen
LUA Dev.
Wiek: 28 Na forum: 4330 dni Posty: 698
Piwa : 2080
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
Tagi: kolory :: tekstu
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: