Witam, ot?? mam skrypt na gui w markerze, no ale oczywi?cie jak wiadomo problem jest, Poniewa? po wej?ciu w marker nic si? nie dzieje
DB jedynie:
WARNING: naprawa/server.lua:58:Bad argument @ 'addEventHandler' [Expected element at argument 2, got nil]
WARNING: naprawa/server.lua:50:Bad argument @ 'addEventHandler' [Expected element at argument 2, got nil]
Kod
[lua]
marker = createMarker(-2032.24512, 173.45181, 27.83594,"cylinder",1.0,0,245,234,255)
GUIEditor = {
checkbox = {},
window = {},
button = {},
memo = {}
}
addEventHandler("onClientResourceStart", resourceRoot,
function()
GUIEditor.window[1] = guiCreateWindow(0, 0, 312, 234, "", false)
guiWindowSetSizable(GUIEditor.window[1], false)
guiSetVisible(GUIEditor.window[1], false)
GUIEditor.button[1] = guiCreateButton(181, 276, 15, 15, "", false, GUIEditor.window[1])
GUIEditor.button[2] = guiCreateButton(272, 216, 15, 15, "", false, GUIEditor.window[1])
GUIEditor.window[2] = guiCreateWindow(410, 165, 277, 233, "Panel Napraw By Marcin", false)
guiWindowSetSizable(GUIEditor.window[2], false)
GUIEditor.checkbox[1] = guiCreateCheckBox(303, 101, 0, 15, "", false, false, GUIEditor.window[2])
GUIEditor.button[3] = guiCreateButton(415, 224, 120, 27, "Napraw", false)
GUIEditor.button[4] = guiCreateButto... |