Search the Community
Showing results for tags 'معي مود ابي اغير الالوان بس مو عارف وين مكان'.
-
سلام عليكم ورحمه الله وبركاته معي مود سبوان سيارات ابي اغير لون السيارات الي تطلع من الماركر ؟ اتمنى تساعدوني ب اقرب وقت local window = guiCreateWindow(353, 146, 323, 358, "Cars Group | سيارات القروب", false) guiWindowSetSizable(window, false) guiSetVisible (window,false) guiSetAlpha(window, 1.00) local gridlist = guiCreateGridList(33, 46, 256, 253, false, window) guiGridListAddColumn(gridlist, "Car", 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 = {596, 601, 411, } 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("Plese Use Car",255, 0, 0,false) end triggerServerEvent("carx",localPlayer,carxx) guiSetVisible(window,false) showCursor(false) end,false ) local car = createMarker (213.80000305176,1874.9000244141,18.799999237061, "cylinder", 1.5, 49 , 29, 19, 255 ) addEventHandler('onClientMarkerHit', car, function ( hitPlayer ) if ( hitPlayer == localPlayer ) and getPlayerTeam( hitPlayer ) and getTeamName( getPlayerTeam( hitPlayer ) ) == 'Police' and getElementData( hitPlayer, 'Group' ) == 'AD' then guiSetVisible ( window ,true ) showCursor( true ) guiSetInputEnabled(false) end end )