Jump to content

صلحولي الكود مش بيشتغل الوحه مش بتفتح


developer

Recommended Posts

الكود مش شغال صلحولي الكود !!!!!!!!!!!!!!!

local window = guiCreateWindow(302, 106, 692, 478, "BY IIwantedII", false)

guiWindowSetSizable(window, false)

guiSetProperty(window, "CaptionColour", "FF301EDE")

local gridlist = guiCreateGridList(14, 26, 664, 339, false, window)

local column = guiGridListAddColumn(gridlist, "", 0.9)

local edit = guiCreateEdit(53, 402, 341, 59, "", false, window)

local button = guiCreateButton(487, 403, 186, 65, "SEND", false, window)

guiSetProperty(button, "NormalTextColour", "FF85C836")

end

)

function OpenWin()

if guiGetVisible(window) then

guiSetVisible(window, false)

showCursor(false)

else

guiSetVisible(window, true)

showCursor(true)

end

end

bindKey("F5", "down", OpenWin)

addEventHandler("onClientGUIClick", root,

function()

if source == button then

local Text = guiGetText(edit)

if Text ~= "" then

guiSetText(edit, "")

triggerServerEvent("IIwantedII", localPlayer, Text)

end

end

end)

addEvent("sendTheText", true)

addEventHandler("sendTheText", root,

function(Text)

local row = guiGridListAddRow(gridlist)

local playerName = getPlayerName(source)

local fText = playerName..":"..Text..":BY IIwantedII"

guiGridListSetItemText(gridlist, row, column, fText , false, false)

end)

Link to comment
Mr.Tn6eL

يعني وش الفرق بين

end) 

و

end 
) 

????????

مافي فرق

بس انا قصدي

على هذا

local window = guiCreateWindow(302, 106, 692, 478, "BY IIwantedII", false) 
guiWindowSetSizable(window, false) 
guiSetProperty(window, "CaptionColour", "FF301EDE") 
  
local gridlist = guiCreateGridList(14, 26, 664, 339, false, window) 
local column = guiGridListAddColumn(gridlist, "", 0.9) 
local edit = guiCreateEdit(53, 402, 341, 59, "", false, window) 
local button = guiCreateButton(487, 403, 186, 65, "SEND", false, window) 
guiSetProperty(button, "NormalTextColour", "FF85C836")  
end 
) 

) : قوس اغلاق بدون فتح

end : نهاية بدون بداية

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...