Wysłany: 2018-12-24, 20:22
xyzzzikk
.gg
Wiek: 18 Na forum: 2774 dni Posty: 175
Nick w MP: aspyk
Piwa : 6499
Wysłany: 2018-12-25, 22:05
Karko85
Wiek: 26 Na forum: 3361 dni Posty: 22
Nick w MP: Karko85
w freeroam wejd? w skrypt fr_server.lua i znajd? tam
Kod:
addEventHandler('onPlayerChat', g_Root,
function(msg, type)
if type == 0 then
cancelEvent()
if chatTime[source] and chatTime[source] + tonumber(get("*chat/mainChatDelay")) > getTickCount() then
outputChatBox("Stop spamming main chat!", source, 255, 0, 0)
return
else
chatTime[source] = getTickCount()
end
if get("*chat/blockRepeatMessages") == "true" and lastChatMessage[source] and lastChatMessage[source] == msg then
outputChatBox("Stop repeating yourself!", source, 255, 0, 0)
return
else
lastChatMessage[source] = msg
end
local r, g, b = getPlayerNametagColor(source)
outputChatBox(getPlayerName(source) .. ': #FFFFFF' .. msg:gsub('#%x%x%x%x%x%x', ''), g_Root, r, g, b, true)
outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. msg )
end
end
)
Usu? to i po sprawie.
Wysłany: 2018-12-28, 14:05
rresz
Wiek: 25 Na forum: 3028 dni Posty: 16
Nick w MP: Domiinoo
Usu? play z mta server.conf jak nie pomo?e to wejdz w core w plikach i jest tam plik odpowiedzialny za chat o tam szukaj
Tagi: podwójny :: chat
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: