Crocodile Posted January 23, 2015 Share Posted January 23, 2015 سلام عليكم ورحمه الله عندي صورة لسكربت النظام حق استئجار مركبات ابي وحدة زيها ؟ انا حاولت اسوي وحده خاصة لكن ماعرفت كيف احط المواتر في آمان الله Link to comment
The Killer Posted January 23, 2015 Share Posted January 23, 2015 Event # 'onClientGUIClick' 'onClientResourceStart' function # guiCreateWindow guiCreateGridList guiCreateButton guiCreateEdit bindKey guiSetVisible showCursor --------------- for -- نجيب القيم الموجوده في الجدول , او نجيب جميع السيارات لو تبي guiGridListAddRow guiGridListSetItemText guiGridListGetSelectedItem guiGridListGetItemText getVehicleNameFromModel getVehicleModelFromName triggerServerEvent -- Server Side createVehicle executeSQLQuery triggerClientEvent warpPedIntoVehicle setElementPosition Link to comment
EL-JoKeR Posted January 23, 2015 Share Posted January 23, 2015 تعبت نفسك علي الفاضي وانت تعرف انه ماراح يقدر يسويها The Killer Link to comment
' A F . Posted January 24, 2015 Share Posted January 24, 2015 تعبت نفسك علي الفاضي وانت تعرف انه ماراح يقدر يسويها The Killer بالله و انت وش حأرق رزك لا اله الا الله .. ! Link to comment
Crocodile Posted January 24, 2015 Author Share Posted January 24, 2015 Event # 'onClientGUIClick' 'onClientResourceStart' function # guiCreateWindow guiCreateGridList guiCreateButton guiCreateEdit bindKey guiSetVisible showCursor --------------- for -- نجيب القيم الموجوده في الجدول , او نجيب جميع السيارات لو تبي guiGridListAddRow guiGridListSetItemText guiGridListGetSelectedItem guiGridListGetItemText getVehicleNameFromModel getVehicleModelFromName triggerServerEvent -- Server Side createVehicle executeSQLQuery triggerClientEvent warpPedIntoVehicle setElementPosition سويت كذا قولي لو فيه شي غلط او ناقص ذا بالنسبة لملف الكلنت function CPanelWindow = guiCreateWindow(432, 194, 501, 440, ":: Control Panel Of Rent System ::", false) guiWindowSetSizable(CPanelWindow, false) centerWindow( CPanelWindow, 2, 2 ) guiSetAlpha(CPanelWindow, 1.00) guiSetVisible(CPanelWindow,false) carGridList = guiCreateGridList(10, 21, 260, 406, false, CPanelWindow) guiSetVisible(carGridList,false) Searching = guiCreateEdit(287, 40, 191, 25, "", false, CPanelWindow) guiEditSetMaxLength(Searching, 35) createBTN = guiCreateButton(287, 79, 191, 39, "Create Vehicle", false, CPanelWindow) guiSetProperty(createBTN, "NormalTextColour", "FFAAAAAA") destroyBTN = guiCreateButton(287, 128, 191, 39, "Destroy Vehicle", false, CPanelWindow) guiSetProperty(destroyBTN, "NormalTextColour", "FFAAAAAA") warpMeBTN = guiCreateButton(287, 177, 191, 39, "Warp Me To Vehicle", false, CPanelWindow) guiSetProperty(warpMeBTN, "NormalTextColour", "FFAAAAAA") warpVehicleBTN = guiCreateButton(287, 226, 191, 39, "Warp Vehicle To Me", false, CPanelWindow) guiSetProperty(warpVehicleBTN, "NormalTextColour", "FFAAAAAA") CCBTN = guiCreateButton(287, 276, 191, 39, "X", false, CPanelWindow) showingWindow = guiCreateWindow(190, 29, 775, 595, "", false) guiWindowSetSizable(showingWindow, false) guiSetVisible ( showingWindow, false ) centerWindow( showingWindow, 2, 2 ) guiSetAlpha(showingWindow, 1) img = guiCreateStaticImage(19, 27, 728, 510, "info.png", false, showingWindow) guiSetAlpha(img, 0.5) closeShowing = guiCreateButton(103, 548, 556, 37, "X", false, showingWindow) addEventHandler ( "onClientResourceStart", resourceRoot, function ( ) for i = 400, 600 do if ( getVehicleNameFromModel ( i ) ~= "" ) then if not DisabledCars[i] then table.insert( CAR, { model = i, name = getVehicleNameFromModel ( i ) } ) end end end table.sort( CAR, function(a, b) return a.name < b.name end ) CL1 = guiGridListAddColumn( carGridList, "Vehicle", 0.60 ) CL2 = guiGridListAddColumn( carGridList, "ID", 0.25 ) for i,v in ipairs(CAR) do local row = guiGridListAddRow ( carGridList ) guiGridListSetItemText ( carGridList, row, CL1, v.name, false, true ) guiGridListSetItemText ( carGridList, row, CL2, tostring(v.model), false, true ) end setElementData ( localPlayer, "playerCar", false ) triggerServerEvent('getRentSystem',localPlayer) end ) local Show = false bindKey ( "O", "down", function ( ) if Show == true then guiSetVisible ( CPanelWindow, not guiGetVisible ( CPanelWindow ) ) showCursor ( guiGetVisible ( CPanelWindow ) ) guiSetInputEnabled ( guiGetVisible ( CPanelWindow ) ) end end ) Link to comment
3tibe511 Posted January 24, 2015 Share Posted January 24, 2015 sqite او sql المسألة يبيلها حفظ او اذا تخليه يشتري السيارة اذا انفجرت راحت Link to comment
#DRAGON!FIRE Posted January 24, 2015 Share Posted January 24, 2015 ما اعتقد احد راح يسوي لك السكربت كامل هنا عشان نساعدك ب اخطاء بسيطة اما كل اكوادك خطا وناقص اشياء كثيرهـ والمود مهوب بالسهولة الكبيره حاول تزيد خبرتك اكثر ومن ثم تسويه ونساعدك ان شاء الله . Link to comment
nxFairlywell Posted January 24, 2015 Share Posted January 24, 2015 سوي اللوحة ياخي وبعدين اطلب الاكواد :_ Link to comment
#MFGR7OM Posted January 24, 2015 Share Posted January 24, 2015 ^ يعني يبيله خبره تامه Link to comment
EH10 Posted January 25, 2015 Share Posted January 25, 2015 ^ يعني يبيله خبره تامه مـو لأأزم خبرة تامة .. # ترا الفكرة ماهي صناعة صاروخ @ بـالنسبة لـ صاحب الموضوع : أنا ماراح أحطمك بس كودك لو شغلتة مالة معنى , Link to comment
EL-JoKeR Posted January 25, 2015 Share Posted January 25, 2015 Click Here For Donwload ~ إضغط هنا للتحميل 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