h-a-m-z-a Posted November 8, 2013 Share Posted November 8, 2013 guiWindowSetSizable(window, false) guiSetVisible (window,false) guiSetAlpha(window, 1.00) local gridlist = guiCreateGridList(33, 46, 256, 253, false, window) guiGridListAddColumn(gridlist, "Car Group", 0.9) local button2 = guiCreateButton(29, 311, 68, 35, "Use", false, window) guiSetProperty(button2, "NormalTextColour", "ffff0000") local button = guiCreateButton(288, 25, 26, 22, "X", false, window) guiSetProperty(button, "NormalTextColour", "FFFF0000") local car = { 541,560 } for _,vehicle in ipairs (car) do local row = guiGridListAddRow ( gridlist ) guiGridListSetItemText ( gridlist, row, 1,getVehicleNameFromModel (tonumber( vehicle )), false, false ) end addEventHandler("onClientGUIClick",button2, function () local carxx = guiGridListGetItemText ( gridlist, guiGridListGetSelectedItem ( gridlist ), 1 ) if carxx == "" then return outputChatBox("car group Good",255, 0, 0,true) end triggerServerEvent("carx",localPlayer,carxx) guiSetVisible(window,false) showCursor(false) end,false ) ------------------------------- local car = createMarker ( 825.42285,-2084.40015,12.92344, "cylinder", 1.5, 255, 255, 255, 255 ) addEventHandler('onClientMarkerHit', car, function ( hitPlayer ) if ( hitPlayer == localPlayer ) then if ( getElementData(hitPlayer, "Group" ) == "Good" ) then guiSetVisible ( window ,true ) showCursor( true ) guiSetInputEnabled(false) end end end ) addEventHandler( "onClientGUIClick", button , function () guiSetVisible(window,false) showCursor(false,false) end )'> local window = guiCreateWindow(353, 146, 323, 358, "h-a-m-z-a", false) guiWindowSetSizable(window, false) guiSetVisible (window,false) guiSetAlpha(window, 1.00) local gridlist = guiCreateGridList(33, 46, 256, 253, false, window) guiGridListAddColumn(gridlist, "Car Group", 0.9) local button2 = guiCreateButton(29, 311, 68, 35, "Use", false, window) guiSetProperty(button2, "NormalTextColour", "ffff0000") local button = guiCreateButton(288, 25, 26, 22, "X", false, window) guiSetProperty(button, "NormalTextColour", "FFFF0000") local car = { 541,560 } for _,vehicle in ipairs (car) do local row = guiGridListAddRow ( gridlist ) guiGridListSetItemText ( gridlist, row, 1,getVehicleNameFromModel (tonumber( vehicle )), false, false ) end addEventHandler("onClientGUIClick",button2, function () local carxx = guiGridListGetItemText ( gridlist, guiGridListGetSelectedItem ( gridlist ), 1 ) if carxx == "" then return outputChatBox("car group Good",255, 0, 0,true) end triggerServerEvent("carx",localPlayer,carxx) guiSetVisible(window,false) showCursor(false) end,false ) ------------------------------- local car = createMarker ( 825.42285,-2084.40015,12.92344, "cylinder", 1.5, 255, 255, 255, 255 ) addEventHandler('onClientMarkerHit', car, function ( hitPlayer ) if ( hitPlayer == localPlayer ) then if ( getElementData(hitPlayer, "Group" ) == "Good" ) then guiSetVisible ( window ,true ) showCursor( true ) guiSetInputEnabled(false) end end end ) addEventHandler( "onClientGUIClick", button , function () guiSetVisible(window,false) showCursor(false,false) end ) Link to comment
ahmed1010 Posted November 8, 2013 Share Posted November 8, 2013 اش ده ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟ Link to comment
h-a-m-z-a Posted November 8, 2013 Author Share Posted November 8, 2013 local window = guiCreateWindow(353, 146, 323, 358, "h-a-m-z-a", false) guiWindowSetSizable(window, false) guiSetVisible (window,false) guiSetAlpha(window, 1.00) local gridlist = guiCreateGridList(33, 46, 256, 253, false, window) guiGridListAddColumn(gridlist, "Car Group", 0.9) local button2 = guiCreateButton(29, 311, 68, 35, "Use", false, window) guiSetProperty(button2, "NormalTextColour", "ffff0000") local button = guiCreateButton(288, 25, 26, 22, "X", false, window) guiSetProperty(button, "NormalTextColour", "FFFF0000") local car = { 541,560 } for _,vehicle in ipairs (car) do local row = guiGridListAddRow ( gridlist ) guiGridListSetItemText ( gridlist, row, 1,getVehicleNameFromModel (tonumber( vehicle )), false, false ) end addEventHandler("onClientGUIClick",button2, function () local carxx = guiGridListGetItemText ( gridlist, guiGridListGetSelectedItem ( gridlist ), 1 ) if carxx == "" then return outputChatBox("car group Good",255, 0, 0,true) end triggerServerEvent("carx",localPlayer,carxx) guiSetVisible(window,false) showCursor(false) end,false ) ------------------------------- local car = createMarker ( 825.42285,-2084.40015,12.92344, "cylinder", 1.5, 255, 255, 255, 255 ) addEventHandler('onClientMarkerHit', car, function ( hitPlayer ) if ( hitPlayer == localPlayer ) then if ( getElementData(hitPlayer, "Group" ) == "Good" ) then guiSetVisible ( window ,true ) showCursor( true ) guiSetInputEnabled(false) end end end ) addEventHandler( "onClientGUIClick", button , function () guiSetVisible(window,false) showCursor(false,false) end ) Link to comment
#DRAGON!FIRE Posted November 8, 2013 Share Posted November 8, 2013 # وش مشكلتك ؟ , # يا احمد الرجاء تلتزم بالقوانين وترأجعها ذذ Link to comment
فاّرس Posted November 8, 2013 Share Posted November 8, 2013 واحد يطرح كود ويقولي وش الخطأ -__- فاضي لك اشيك على 48 سطر ؟ = Link to comment
#DRAGON!FIRE Posted November 8, 2013 Share Posted November 8, 2013 واحد يطرح كود ويقولي وش الخطأ -__-فاضي لك اشيك على 48 سطر ؟ = # خخخخ يب معاك حق # قولنا وش الغلط وشف الديبوق Link to comment
h-a-m-z-a Posted November 8, 2013 Author Share Posted November 8, 2013 احد يسوي لي كود ماركر السيارات ويكون بس لقروب معين ؟؟؟؟؟ Link to comment
AboShanab Posted November 8, 2013 Share Posted November 8, 2013 window = guiCreateWindow(353, 146, 323, 358, "h-a-m-z-a", false) guiWindowSetSizable(window, false) guiSetVisible (window,false) guiSetAlpha(window, 1.00) gridlist = guiCreateGridList(33, 46, 256, 253, false, window) guiGridListAddColumn(gridlist, "Car Group", 0.9) button2 = guiCreateButton(29, 311, 68, 35, "Use", false, window) guiSetProperty(button2, "NormalTextColour", "ffff0000") button = guiCreateButton(288, 25, 26, 22, "X", false, window) guiSetProperty(button, "NormalTextColour", "FFFF0000") local car = { 541,560 } for _,vehicle in ipairs (car) do local row = guiGridListAddRow ( gridlist ) guiGridListSetItemText ( gridlist, row, 1,getVehicleNameFromModel (tonumber( vehicle )), false, false ) end addEventHandler("onClientGUIClick",root, function () if ( source == button ) then guiSetVisible(window,false) showCursor(false) elseif ( source == button2 ) then local sel = guiGridListGetSelectedItem(gridlist) local carxx = guiGridListGetItemText ( gridlist, guiGridListGetSelectedItem ( gridlist ), 1 ) if sel ~= -1 then triggerServerEvent("carx",localPlayer,carxx) guiSetVisible(window,false) showCursor(false) else outputChatBox("* Please Select Car",255,0,0,true) end end end) local car = createMarker ( 825.42285,-2084.40015,12.92344, "cylinder", 1.5, 255, 255, 255, 255 ) addEventHandler('onClientMarkerHit', car, function ( hitPlayer ) if ( hitPlayer == localPlayer ) then if ( getElementData(hitPlayer, "Group" ) == "Good" ) then guiSetVisible ( window ,true ) showCursor( true ) end end end) Link to comment
ahmed1010 Posted November 9, 2013 Share Posted November 9, 2013 اعطو الرجل الكود الصحيح Link to comment
The Killer Posted November 9, 2013 Share Posted November 9, 2013 اعطو الرجل الكود الصحيح المتحدث الرسمي عنه اانت ؟ وش تبي ؟ هو يبي الكود هو يتكلم Link to comment
h-a-m-z-a Posted November 9, 2013 Author Share Posted November 9, 2013 شباب لي يعرف يعدل مرحبا + يجرب شغال ولا لا لاتسوي نفسك فاهم وتشوف الكود يعدين تقول بيشتغل جربه بنفسك Link to comment
فاّرس Posted November 9, 2013 Share Posted November 9, 2013 قال جربه وتتشرط بعد ترا محد بيعطيك الا وهو ضامن انه بيشتغل -__- والحين قولنا وش مشكلتك بالضبط؟ واكتب في اف8 debugscript 3 وشوف وش يطلع لك وقولنا ذذ Link to comment
ahmed1010 Posted November 9, 2013 Share Posted November 9, 2013 [16:48:41] SCRIPT: ![!HELL!]AHMED10__10~(ahmed1010) set his script debug mode to 3 debugscript: Your debug mode was set to 3 طلع كده فى اف 8 Link to comment
h-a-m-z-a Posted November 9, 2013 Author Share Posted November 9, 2013 [14:49:40] Resource '1111' changed, reloading and starting [14:49:40] Starting 1111 [14:49:40] SCRIPT ERROR: 1111\server.lua:30: unexpected symbol near ')' [14:49:40] ERROR: Loading script failed: 1111\server.lua:30: unexpected symbol near ')' Link to comment
The Killer Posted November 9, 2013 Share Posted November 9, 2013 حمزا اطرح الكود في السطر 30 من ملف السيرفر Link to comment
h-a-m-z-a Posted November 9, 2013 Author Share Posted November 9, 2013 local car = createMarker (1531.10339,-1672.46362,13.38281), "cylinder", 1.5, 255, 255, 255, 255 ) Link to comment
The Killer Posted November 9, 2013 Share Posted November 9, 2013 استبدله بالي عندك local car = createMarker (1531.10339,-1672.46362,13.38281, "cylinder", 1.5, 255, 255, 255, 255 ) Link to comment
h-a-m-z-a Posted November 9, 2013 Author Share Posted November 9, 2013 [14:55:30] ERROR: 1111\server.lua:1: attempt to call global 'guiCreateWindow' (a nil value) Link to comment
The Killer Posted November 9, 2013 Share Posted November 9, 2013 استبدله بالي عندك window = guiCreateWindow(353, 146, 323, 358, "h-a-m-z-a", false) 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