Witam!
Mam problem ze skrypter z paczki WestRPG a m?j problem polega na tym ?e jak si? tego u?ywa to w konsoli ca?y czas wyskakuje co? takiego a wyskakuje to w tych skryptach w ktorych zostalo zastosowana funkcja z dxLibrary.
[19-06-02 20:57:18] DIAGNOSTIC: JazzySwan96 #1013 HTTP server file mismatch (notifications) pasek.png [Got size:0 MD5:00000000000000000000000000000000, wanted MD5:ED0A6697B7F258AC908304066285396E]
Kod:
[lua]--[[
Skrypt zosta? wykonany przez:
-Asper ([email protected]).
Na potrzeby serwera:
-WestRPG (2018).
Jedyne i wy??czone prawo do u?ywania kodu ma serwer WestRPG oraz autor skryptu. (Asper)
]]
local sw,sh = guiGetScreenSize()
local baseX = 1920
local scale = 1
local minScale = 1.1
if sw < baseX then
scale = math.min(minScale, baseX/sw)
end
local dxLibary = {}
function isMouseIn(x, y, w, h)
if not isCursorShowing() then return end
local pos = {getCursorPosition()}
pos[1],pos[2] = (pos[1]*sw),(pos[2]*sh)
if pos[1] >= x and pos[1] <= (x+w) and pos[2] >= y and pos[2] <= (y+h) then
return true
end
return false
end
function dxLibary:Load()
self['font_quality'] = 'cleartype_natural'
self['font_bold'] = false
self['fonts'] = {
[0] = dxCreateFont('fonts/czcionka.ttf', 9/scale, self['font_bold'], self['font_quality']),
[1] = dxCreateFont('fonts/czcionka.ttf', 10/scale, self['font_bold'], self['font_quality']),
[2] = dxCreateFont('fonts/czcionka.ttf', 11/sc... |