السلام عليكم ورحمه الله وبركاته
سكريب عبارة عن ايتد بوكس انا اكتب في الاحداثيات ودوس زر يتكون بيك اب بس ما بيتكون ما اعرف ليش السكريبت اهو
addEventHandler("onClientResourceStart", resourceRoot,
function()
GUIEditor.window[1] = guiCreateWindow(198, 198, 488, 204, "", false)
guiWindowSetSizable(GUIEditor.window[1], false)
guiSetVisible(GUIEditor.window[1], false)
GUIEditor.edit[1] = guiCreateEdit(140, 69, 217, 34, "0, 0, 0", false, GUIEditor.window[1])
GUIEditor.button[1] = guiCreateButton(371, 157, 107, 37, "تفعيل", false, GUIEditor.window[1])
guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF00ACFC")
end
)
function Key ()
local Visible = guiGetVisible(GUIEditor.window[1])
if Visible == false then
guiSetVisible(GUIEditor.window[1], true)
showCursor(true)
else
guiSetVisible(GUIEditor.window[1], false)
showCursor(false)
end
end
bindKey("F3", "down", Key)
function Test ()
local V = guiGetVisible(GUIEditor.window[1])
if V == true then
if source == GUIEditor.button[1] then
local x, y, z = guiGetText(GUIEditor.edit[1])
createPickup(x, y, z, 3, 1212)
end
end
addEventHandler("onClientGUIClick", root, Test)