Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: zakladanie
1. Zakladanie organizacji
Witam mam skrypt na zakladanie organizacji lecz gdy proboje ja zalozyc wyskakuje mi taki blad w db3
[code]ERROR: Client (#FF0000NoName) triggered serverside event zalozs, but event is not added serverside[/code]

c.lua

[lua]
--[[ GUI wykona?: DerricK. --]]
local font = dxCreateFont(":dG-Fonty/1.ttf", 10)
local blur = exports['blur']
mojeW,mojeH = 1280, 1024
sW,sH = guiGetScreenSize()
w, h = (sW/mojeW), (sH/mojeH)

local screenW, screenH = guiGetScreenSize()
local sx, sy = guiGetScreenSize()

function isMouseIn(psx,psy,pssx,pssy,abx,aby)
if not isCursorShowing() then return end
cx,cy=getCursorPosition()
cx,cy=cx*sx,cy*sy
if cx >= psx and cx <= psx+pssx and cy >= psy and cy <= psy+pssy then
return true,cx,cy
else
return false
end
end

podanaNazwa = guiCreateEdit(476*w, 537*h, 349*w, 43*h, "Tutaj wpisz nazw? organizacji..", false)
guiSetAlpha(podanaNazwa, 0)
guiSetVisible(podanaNazwa, false)
guiEditSetMaxLength(podanaNazwa, 10)

function gui()
dxDrawLine(434*w - 1, 284*h - 1, 434*w - 1, 742*h, tocolor(0, 0, 0, 255), 1, false)
dxDrawLine(846*w, 284*h - 1, 434*w - 1, 284*h - 1, tocolor(0, 0, 0, 255), 1, false)
dxDrawLine(434*w - 1, 742*h, 846*w, 742*h, tocolor(0, 0, 0, 255), 1, false)
dxDrawLine(846*w, 742*h, 846*w, 284*h - 1, tocolor(0, 0, 0, 255), 1, false)
blur:dxDrawBluredRectangle(434*w, 284*h, 412*w, 458*h, tocolor(175,...