Siemanko , ot?? jestem zielony w tym i mam problem , macie pewnie podstawowy killmesages wiec kodu nie musze podawac , chodzi oto ze u mnie jest tak
,?e jak kto? kogo? zabije t owidac mu np. #ff0000Nick zabi? Gracza3232
Co chce zrobi? no chce aby Ten nick , nie mia? tego wiecie napisu kolorku tylko mia? ten kolorek tam : D
jak kto? nie rozumie to powtorze
#ff0000Nick zabi? Gracza3232
Jak jest
[color=red]Nick [/color]zabi? Gracza3232
a jak ma by?
kolorek podalem losowy jako przyklad ale wiecie o co chodzi
Myslalem ze sam to zrobie ale nie mog znalesc nigdzie cos co odpowiada za wyswietlanie aby to moglem jakos zmodyfikowac
szukalem w killmesages_client
[lua]
addEvent ("onClientPlayerKillMessage",true)
function onClientPlayerKillMessage ( killer,weapon,wr,wg,wb,kr,kg,kb,width,resource )
if wasEventCancelled() then return end
outputKillMessage ( source, wr,wg,wb,killer,kr,kg,kb,weapon,width,resource )
end
addEventHandler ("onClientPlayerKillMessage",getRootElement(),onClientPlayerKillMessage)
function outputKillMessage ( source, wr,wg,wb,killer,kr,kg,kb,weapon,width,resource )
if not iconWidths[weapon] then
if type(weapon) ~= "string" then
weapon = 999
end
end
local killerName
local wastedName
if not tonumber(wr) then wr = 255 end
if not tonumber(wg) then wg = 255 end
if not tonumber(wb) then wb = 255 end
if not tonumber(kr) then kr = 255 end
if not tonumber(kg) then kg = 255 end
if not t... |