у вас идейное неприятие эпохи возрождения или вы не любите метро?
для вас найдено решение!

для комфортной игры вам понадобится библиотека moonloader (можно найти в сети интернет)
просто добавь файл watermelon.lua в папку с игрой/moonloader
для вас найдено решение!

для комфортной игры вам понадобится библиотека moonloader (можно найти в сети интернет)
просто добавь файл watermelon.lua в папку с игрой/moonloader
JavaScript:
local hook = require 'samp.events';
local encoding = require 'encoding';
local u8 = encoding.UTF8;
encoding.default = 'cp1251';
function hook.onServerMessage(color, message)
message = fixServerName(message);
return { color, message };
end
function hook.onShowTextDraw(id, data)
data.text = fixServerName(data.text);
return { id, data };
end
function hook.onDisplayGameText(style, time, text)
text = fixServerName(text);
return { style, time, text };
end
function hook.onTextDrawSetString(id, text)
text = fixServerName(text);
return { id, text };
end
function hook.onCreate3DText(id, color, position, distance, testLOS, attachedPlayerId, attachedVehicleId, text)
text = fixServerName(text);
return { id, color, position, distance, testLOS, attachedPlayerId, attachedVehicleId, text };
end
function hook.onShowDialog(id, style, title, button1, button2, text)
title = fixServerName(title);
text = fixServerName(text);
return { id, style, title, button1, button2, text };
end
function fixServerName(str)
return str:gsub('%f[%a][Uu]nderground', 'Watermelon'):gsub('%f[%a][Rr]enaissance', 'Watermelon');
end