Nerses
Members-
Posts
291 -
Joined
-
Last visited
Everything posted by Nerses
-
как сделать чтоб после регесрации или вход за гость спавн был на одной точке? помогитееее
-
I understood but ask where you want it to write or edit where?
-
I understood but ask where you want it to write or edit where?
-
How to change the place of spawning at the time of death? Of course stupid question but still. Sorry for the expression)
-
Как изменить место спавна при умирании? Конечно тупой вопрос но все же. Извиемте за выражении)
-
я все скопировал , создал но не как не получаеться(
-
Как бы получилось, но вот такой вопрос, у меняя стоит ТЭГ скрипт, и когда я проверял у меня сообщения дублируются, тоесть Одно сообщения с ТЭГОМ и с цветным ником пишется, а дублированное следущее собщение белое но и без тэга, что делать?
-
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 ) Раскоментируй и замени. опять показывает цвета(
-
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 )
-
а если у меня закоментированы тут строчки некотторые для тэга. что делать тогда?
-
where you want it all to write? or instead of what
-
Write in English so people here can understand what you're asking for, because i didn't get any :~. for example a man went to #fff0f... and so on and so his nickname was white as at all and not a colour
-
You may want to rethinking before you even try to help others with such code, you didn't attach the event to an element also this event doesn't have any parameters. help
-
Well that HTML colors to avoid. And where you need it to write/edit? These actually aren't HTML color codes. HTML mostly uses HEX (#ff0000, etc...) and this is RGB. I had in mind. I created a new lua and meta file dumped to the server and it does not work
-
I understand but I ask himself where this code to write?
-
Well that HTML colors to avoid. And where you need it to write/edit?
-
so when the man went on a server with color nick, that it was not? html code that is displayed before the nick is.
-
Ребят нужна ваша помощь. Как сделать так чтоб человек с html ником не был цветовым? Что где надо редактировать?
