1337.Ibrahim Posted June 27, 2017 Share Posted June 27, 2017 السلام عليكم وين المشكلةة هنا function open ( ) guiSetVisible(wnd, not guiGetVisible(wnd)) showCursor(guiGetVisible(wnd)) guiGridListClear(GridList) for id, marker in ipairs(getElementsByType("marker")) do local row = guiGridListAddRow ( GridList ) guiGridListSetItemText ( GridList, row, 1, "Marker " .. id, false, false ) end end addCommandHandler ( "camera",open ) addEventHandler("onClientGUIClick",root, function () if source == Cm then local x, y, z = getElementPosition(localPlayer) marker = createMarker ( x , y , z, "cylinder", 1.5, 255, 255, 0, 170 ) elseif source == Rm then if guiGridListGetSelectedItem ( GridList ) ~= -1 then guiGridListGetItemText( GridList, camera ) guiGridListRemoveRow ( GridList ) destroyElement(marker) end end end) Link to comment
#BrosS Posted June 27, 2017 Share Posted June 27, 2017 debugscript 3 غير معرفة camera سطر 20 1 Link to comment
1337.Ibrahim Posted June 28, 2017 Author Share Posted June 28, 2017 (edited) On ٣/١٠/١٤٣٨ هـ at 19:50, #BrosS said: debugscript 3 غير معرفة camera سطر 20 مشكلة ثانية اذا سويت اكثر من ماركر مااقدر احذف الماركر الأول؟ ترا قصدي اني حليت المشكلة السابقة , ^ Edited June 28, 2017 by Talis حليت المشكلة Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now