- 330
- 47
Почему такая уебанская R
Код:
local sampev = require 'lib.samp.events'
function main()
repeat wait(0) until isSampAvailable()
repeat wait(0) until sampIsLocalPlayerSpawned()
print('Работает')
while true do wait(0)
if sampGetGamestate() == 3 then
local ip, port = sampGetCurrentServerAddress()
local ipport = ip..":"..port
if ipport == "185.169.134.62:8904" then
sampTextdrawCreate(2222, "R", 551,1)
sampTextdrawCreate(2223, "odina", 564.8,6)
sampTextdrawCreate(2224, "Northern", 562.9,14.5)
sampTextdrawSetStyle(2222, 0)
sampTextdrawSetLetterSizeAndColor(2222, 0.4999999999999, 2.88000000000000,0xFFCA3338)
sampTextdrawSetOutlineColor(2222, 0.5, 0xFF000000)
sampTextdrawSetStyle(2223, 3)
sampTextdrawSetLetterSizeAndColor(2223, 0.3211100000000, 1.21999799609184,0xFFCA3338)
sampTextdrawSetOutlineColor(2223, 1, 0xFF000000)
sampTextdrawSetStyle(2224, 2)
sampTextdrawSetLetterSizeAndColor(2224, 0.1750000000000, 1.30000799609184,-1)
sampTextdrawSetOutlineColor(2224, 0.5, 0xFF000000)
end
end
end
end
function sampev.onShowTextDraw(id, data)
local ip, port = sampGetCurrentServerAddress()
local ipport = ip..":"..port
if ipport == "185.169.134.62:8904" then
for i=435,447 do -- delete logo
if id == i then
return false
end
end
end
end