^#Dream Posted June 4, 2014 Share Posted June 4, 2014 GUIEditor = { button = {}, window = {}, edit = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(272, 110, 314, 387, "فـكَ الكفر", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.99) GUIEditor.label[1] = guiCreateLabel(194, 32, 106, 15, "[0] Normal | طبيعي", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 151, 233, 21) GUIEditor.label[2] = guiCreateLabel(198, 57, 106, 15, "[1] Flat | مـنسسم", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 30, 75, 223) GUIEditor.label[3] = guiCreateLabel(15, 32, 133, 19, "[2] Fallen Off | مـفكوك", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[3], 168, 6, 6) GUIEditor.label[4] = guiCreateLabel(15, 57, 158, 19, "[3] Collisionless | نـآزل", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[4], 158, 96, 15) GUIEditor.label[5] = guiCreateLabel(222, 121, 68, 34, "Front Right \n قدام يمين ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[5], 41, 131, 128) GUIEditor.edit[1] = guiCreateEdit(219, 161, 81, 25, "", false, GUIEditor.window[1]) GUIEditor.label[6] = guiCreateLabel(20, 121, 68, 34, "Front Left\n قدام يسار ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[6], 65, 42, 129) GUIEditor.edit[2] = guiCreateEdit(15, 161, 81, 25, "", false, GUIEditor.window[1]) GUIEditor.label[7] = guiCreateLabel(21, 217, 75, 30, "Rear Left\nورا يسار ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[7], 9, 161, 106) GUIEditor.label[8] = guiCreateLabel(229, 217, 75, 30, "Rear Right\nورا يمين ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[8], 74, 135, 34) GUIEditor.edit[3] = guiCreateEdit(15, 257, 81, 23, "", false, GUIEditor.window[1]) GUIEditor.edit[4] = guiCreateEdit(219, 254, 84, 26, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(98, 332, 121, 39, "فك الكفر", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.label[9] = guiCreateLabel(11, 302, 116, 20, "Created By : mnGr7", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[9], 151, 233, 21) end ) addEventHandler ("onClientGUIClick", getRootElement(), function () if source == GUIEditor.button[1] then function scriptWheelStates (command, newFLeft, newRLeft, newFRight, newRRight ) local theVehicle = getPedOccupiedVehicle ( localPlayer ) if ( theVehicle ) then if ( newFLeft ) then if not setVehicleWheelStates ( theVehicle, newFLeft, newRLeft, newFRight, newRRight ) then outputChatBox ( "Bad arguments." ) end end outputChatBox("تـم فك الـكفر") end end ) Link to comment
acount deleted Posted June 4, 2014 Share Posted June 4, 2014 GUIEditor = { button = {}, window = {}, edit = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(272, 110, 314, 387, "فـكَ الكفر", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.99) GUIEditor.label[1] = guiCreateLabel(194, 32, 106, 15, "[0] Normal | طبيعي", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 151, 233, 21) GUIEditor.label[2] = guiCreateLabel(198, 57, 106, 15, "[1] Flat | مـنسسم", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 30, 75, 223) GUIEditor.label[3] = guiCreateLabel(15, 32, 133, 19, "[2] Fallen Off | مـفكوك", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[3], 168, 6, 6) GUIEditor.label[4] = guiCreateLabel(15, 57, 158, 19, "[3] Collisionless | نـآزل", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[4], 158, 96, 15) GUIEditor.label[5] = guiCreateLabel(222, 121, 68, 34, "Front Right \n قدام يمين ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[5], 41, 131, 128) GUIEditor.edit[1] = guiCreateEdit(219, 161, 81, 25, "", false, GUIEditor.window[1]) GUIEditor.label[6] = guiCreateLabel(20, 121, 68, 34, "Front Left\n قدام يسار ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[6], 65, 42, 129) GUIEditor.edit[2] = guiCreateEdit(15, 161, 81, 25, "", false, GUIEditor.window[1]) GUIEditor.label[7] = guiCreateLabel(21, 217, 75, 30, "Rear Left\nورا يسار ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[7], 9, 161, 106) GUIEditor.label[8] = guiCreateLabel(229, 217, 75, 30, "Rear Right\nورا يمين ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[8], 74, 135, 34) GUIEditor.edit[3] = guiCreateEdit(15, 257, 81, 23, "", false, GUIEditor.window[1]) GUIEditor.edit[4] = guiCreateEdit(219, 254, 84, 26, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(98, 332, 121, 39, "فك الكفر", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.label[9] = guiCreateLabel(11, 302, 116, 20, "Created By : mnGr7", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[9], 151, 233, 21) end ) addEventHandler ("onClientGUIClick", getRootElement(), function () if source == GUIEditor.button[1] then function scriptWheelStates (command, newFLeft, newRLeft, newFRight, newRRight ) local theVehicle = getPedOccupiedVehicle ( localPlayer ) if ( theVehicle ) then if ( newFLeft ) then if not setVehicleWheelStates ( theVehicle, newFLeft, newRLeft, newFRight, newRRight ) then outputChatBox ( "Bad arguments." ) end end outputChatBox("تـم فك الـكفر") end end end end ) Link to comment
^#Dream Posted June 4, 2014 Author Share Posted June 4, 2014 آخوي مشكور بس ياليت لو تعطيني الكود BindKey Link to comment
acount deleted Posted June 4, 2014 Share Posted June 4, 2014 GUIEditor = { button = {}, window = {}, edit = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(272, 110, 314, 387, "فـكَ الكفر", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.99) GUIEditor.label[1] = guiCreateLabel(194, 32, 106, 15, "[0] Normal | طبيعي", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 151, 233, 21) GUIEditor.label[2] = guiCreateLabel(198, 57, 106, 15, "[1] Flat | مـنسسم", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 30, 75, 223) GUIEditor.label[3] = guiCreateLabel(15, 32, 133, 19, "[2] Fallen Off | مـفكوك", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[3], 168, 6, 6) GUIEditor.label[4] = guiCreateLabel(15, 57, 158, 19, "[3] Collisionless | نـآزل", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[4], 158, 96, 15) GUIEditor.label[5] = guiCreateLabel(222, 121, 68, 34, "Front Right \n قدام يمين ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[5], 41, 131, 128) GUIEditor.edit[1] = guiCreateEdit(219, 161, 81, 25, "", false, GUIEditor.window[1]) GUIEditor.label[6] = guiCreateLabel(20, 121, 68, 34, "Front Left\n قدام يسار ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[6], 65, 42, 129) GUIEditor.edit[2] = guiCreateEdit(15, 161, 81, 25, "", false, GUIEditor.window[1]) GUIEditor.label[7] = guiCreateLabel(21, 217, 75, 30, "Rear Left\nورا يسار ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[7], 9, 161, 106) GUIEditor.label[8] = guiCreateLabel(229, 217, 75, 30, "Rear Right\nورا يمين ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[8], 74, 135, 34) GUIEditor.edit[3] = guiCreateEdit(15, 257, 81, 23, "", false, GUIEditor.window[1]) GUIEditor.edit[4] = guiCreateEdit(219, 254, 84, 26, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(98, 332, 121, 39, "فك الكفر", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.label[9] = guiCreateLabel(11, 302, 116, 20, "Created By : mnGr7", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[9], 151, 233, 21) function OpenWin() if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F7", "down", OpenWin) addEventHandler ("onClientGUIClick", getRootElement(), function () if source == GUIEditor.button[1] then function scriptWheelStates (command, newFLeft, newRLeft, newFRight, newRRight ) local theVehicle = getPedOccupiedVehicle ( localPlayer ) if ( theVehicle ) then if ( newFLeft ) then if not setVehicleWheelStates ( theVehicle, newFLeft, newRLeft, newFRight, newRRight ) then outputChatBox ( "Bad arguments." ) end end outputChatBox("تـم فك الـكفر") end end end end ) Link to comment
^#Dream Posted June 4, 2014 Author Share Posted June 4, 2014 مآصصار شي ما انفكك الككفر Link to comment
acount deleted Posted June 4, 2014 Share Posted June 4, 2014 (edited) انا صححت اللوحة اما بالنسبة للمود يبيله شغل اكثر Edited June 4, 2014 by Guest Link to comment
Max+ Posted June 4, 2014 Share Posted June 4, 2014 والله سويته على السريع , شوف يضبط واكتب في اف 8 debugscript 3 , وشغل السكربت وشوف وش يطلع لك من اخطاْء, GUIEditor = { button = {}, window = {}, edit = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(272, 110, 314, 387, "فـكَ الكفر", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.99) GUIEditor.label[1] = guiCreateLabel(194, 32, 106, 15, "[0] Normal | طبيعي", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 151, 233, 21) GUIEditor.label[2] = guiCreateLabel(198, 57, 106, 15, "[1] Flat | مـنسسم", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 30, 75, 223) GUIEditor.label[3] = guiCreateLabel(15, 32, 133, 19, "[2] Fallen Off | مـفكوك", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[3], 168, 6, 6) GUIEditor.label[4] = guiCreateLabel(15, 57, 158, 19, "[3] Collisionless | نـآزل", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[4], 158, 96, 15) GUIEditor.label[5] = guiCreateLabel(222, 121, 68, 34, "Front Right \n قدام يمين ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[5], 41, 131, 128) GUIEditor.edit[1] = guiCreateEdit(219, 161, 81, 25, "", false, GUIEditor.window[1]) GUIEditor.label[6] = guiCreateLabel(20, 121, 68, 34, "Front Left\n قدام يسار ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[6], 65, 42, 129) GUIEditor.edit[2] = guiCreateEdit(15, 161, 81, 25, "", false, GUIEditor.window[1]) GUIEditor.label[7] = guiCreateLabel(21, 217, 75, 30, "Rear Left\nورا يسار ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[7], 9, 161, 106) GUIEditor.label[8] = guiCreateLabel(229, 217, 75, 30, "Rear Right\nورا يمين ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[8], 74, 135, 34) GUIEditor.edit[3] = guiCreateEdit(15, 257, 81, 23, "", false, GUIEditor.window[1]) GUIEditor.edit[4] = guiCreateEdit(219, 254, 84, 26, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(98, 332, 121, 39, "فك الكفر", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.label[9] = guiCreateLabel(11, 302, 116, 20, "Created By : mnGr7", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[9], 151, 233, 21) function OpenWin() if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F7", "down", OpenWin) addEventHandler ("onClientGUIClick", getRootElement(), function () if source == (GUIEditor.button[1]) then function scriptWheelStates (newFLeft, newRLeft, newFRight, newRRight) local states = { [0]="inflated", [1]="flat", [2]="fallen off" } local frontLeft, rearLeft, frontRight, rearRight = getVehicleWheelStates ( theVehicle ) outputChatBox ( "Your vehicle's wheel states:", localPlayer ) outputChatBox ( "Front-Left: " .. states [ frontLeft ] .. ", Front-Right: " .. states [ frontRight ] .. ", Rear-Left: " .. states [ rearLeft ] .. ", Rear-Right: " .. states [ rearRight ], localPlayer ) end else outputChatBox ( "You have to be in a vehicle to use this command.", thePlayer ) local theVehicle = getPedOccupiedVehicle ( localPlayer ) if ( theVehicle ) then if ( newFLeft ) then if not setVehicleWheelStates ( theVehicle, newFLeft, newRLeft, newFRight, newRRight ) then outputChatBox ( "Bad arguments." ) end end outputChatBox("تـم فك الـكفر") end end end ) Link to comment
acount deleted Posted June 4, 2014 Share Posted June 4, 2014 والله سويته على السريع , شوف يضبط واكتب في اف 8 debugscript 3 , وشغل السكربت وشوف وش يطلع لك من اخطاْء, GUIEditor = { button = {}, window = {}, edit = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(272, 110, 314, 387, "فـكَ الكفر", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.99) GUIEditor.label[1] = guiCreateLabel(194, 32, 106, 15, "[0] Normal | طبيعي", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 151, 233, 21) GUIEditor.label[2] = guiCreateLabel(198, 57, 106, 15, "[1] Flat | مـنسسم", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 30, 75, 223) GUIEditor.label[3] = guiCreateLabel(15, 32, 133, 19, "[2] Fallen Off | مـفكوك", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[3], 168, 6, 6) GUIEditor.label[4] = guiCreateLabel(15, 57, 158, 19, "[3] Collisionless | نـآزل", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[4], 158, 96, 15) GUIEditor.label[5] = guiCreateLabel(222, 121, 68, 34, "Front Right \n قدام يمين ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[5], 41, 131, 128) GUIEditor.edit[1] = guiCreateEdit(219, 161, 81, 25, "", false, GUIEditor.window[1]) GUIEditor.label[6] = guiCreateLabel(20, 121, 68, 34, "Front Left\n قدام يسار ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[6], 65, 42, 129) GUIEditor.edit[2] = guiCreateEdit(15, 161, 81, 25, "", false, GUIEditor.window[1]) GUIEditor.label[7] = guiCreateLabel(21, 217, 75, 30, "Rear Left\nورا يسار ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[7], 9, 161, 106) GUIEditor.label[8] = guiCreateLabel(229, 217, 75, 30, "Rear Right\nورا يمين ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[8], 74, 135, 34) GUIEditor.edit[3] = guiCreateEdit(15, 257, 81, 23, "", false, GUIEditor.window[1]) GUIEditor.edit[4] = guiCreateEdit(219, 254, 84, 26, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(98, 332, 121, 39, "فك الكفر", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.label[9] = guiCreateLabel(11, 302, 116, 20, "Created By : mnGr7", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[9], 151, 233, 21) function OpenWin() if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F7", "down", OpenWin) addEventHandler ("onClientGUIClick", getRootElement(), function () if source == (GUIEditor.button[1]) then function scriptWheelStates (newFLeft, newRLeft, newFRight, newRRight) local states = { [0]="inflated", [1]="flat", [2]="fallen off" } local frontLeft, rearLeft, frontRight, rearRight = getVehicleWheelStates ( theVehicle ) outputChatBox ( "Your vehicle's wheel states:", localPlayer ) outputChatBox ( "Front-Left: " .. states [ frontLeft ] .. ", Front-Right: " .. states [ frontRight ] .. ", Rear-Left: " .. states [ rearLeft ] .. ", Rear-Right: " .. states [ rearRight ], localPlayer ) end else outputChatBox ( "You have to be in a vehicle to use this command.", thePlayer ) local theVehicle = getPedOccupiedVehicle ( localPlayer ) if ( theVehicle ) then if ( newFLeft ) then if not setVehicleWheelStates ( theVehicle, newFLeft, newRLeft, newFRight, newRRight ) then outputChatBox ( "Bad arguments." ) end end outputChatBox("تـم فك الـكفر") end end end ) نسخ مع لصق من الويكي https://wiki.multitheftauto.com/wiki/SetVehicleWheelStates حتى الديبق عجز عن التعليق Link to comment
Max+ Posted June 4, 2014 Share Posted June 4, 2014 والله سويته على السريع , شوف يضبط واكتب في اف 8 debugscript 3 , وشغل السكربت وشوف وش يطلع لك من اخطاْء, GUIEditor = { button = {}, window = {}, edit = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(272, 110, 314, 387, "فـكَ الكفر", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.99) GUIEditor.label[1] = guiCreateLabel(194, 32, 106, 15, "[0] Normal | طبيعي", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 151, 233, 21) GUIEditor.label[2] = guiCreateLabel(198, 57, 106, 15, "[1] Flat | مـنسسم", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 30, 75, 223) GUIEditor.label[3] = guiCreateLabel(15, 32, 133, 19, "[2] Fallen Off | مـفكوك", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[3], 168, 6, 6) GUIEditor.label[4] = guiCreateLabel(15, 57, 158, 19, "[3] Collisionless | نـآزل", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[4], 158, 96, 15) GUIEditor.label[5] = guiCreateLabel(222, 121, 68, 34, "Front Right \n قدام يمين ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[5], 41, 131, 128) GUIEditor.edit[1] = guiCreateEdit(219, 161, 81, 25, "", false, GUIEditor.window[1]) GUIEditor.label[6] = guiCreateLabel(20, 121, 68, 34, "Front Left\n قدام يسار ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[6], 65, 42, 129) GUIEditor.edit[2] = guiCreateEdit(15, 161, 81, 25, "", false, GUIEditor.window[1]) GUIEditor.label[7] = guiCreateLabel(21, 217, 75, 30, "Rear Left\nورا يسار ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[7], 9, 161, 106) GUIEditor.label[8] = guiCreateLabel(229, 217, 75, 30, "Rear Right\nورا يمين ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[8], 74, 135, 34) GUIEditor.edit[3] = guiCreateEdit(15, 257, 81, 23, "", false, GUIEditor.window[1]) GUIEditor.edit[4] = guiCreateEdit(219, 254, 84, 26, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(98, 332, 121, 39, "فك الكفر", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.label[9] = guiCreateLabel(11, 302, 116, 20, "Created By : mnGr7", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[9], 151, 233, 21) function OpenWin() if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F7", "down", OpenWin) addEventHandler ("onClientGUIClick", getRootElement(), function () if source == (GUIEditor.button[1]) then function scriptWheelStates (newFLeft, newRLeft, newFRight, newRRight) local states = { [0]="inflated", [1]="flat", [2]="fallen off" } local frontLeft, rearLeft, frontRight, rearRight = getVehicleWheelStates ( theVehicle ) outputChatBox ( "Your vehicle's wheel states:", localPlayer ) outputChatBox ( "Front-Left: " .. states [ frontLeft ] .. ", Front-Right: " .. states [ frontRight ] .. ", Rear-Left: " .. states [ rearLeft ] .. ", Rear-Right: " .. states [ rearRight ], localPlayer ) end else outputChatBox ( "You have to be in a vehicle to use this command.", thePlayer ) local theVehicle = getPedOccupiedVehicle ( localPlayer ) if ( theVehicle ) then if ( newFLeft ) then if not setVehicleWheelStates ( theVehicle, newFLeft, newRLeft, newFRight, newRRight ) then outputChatBox ( "Bad arguments." ) end end outputChatBox("تـم فك الـكفر") end end end ) نسخ مع لصق من الويكي https://wiki.multitheftauto.com/wiki/SetVehicleWheelStates حتى الديبق عجز عن التعليق هههههههههههههههههه الله يعطيك العافية يابعد راسي , تصدق جلست احاول فيه ساعه , ابرمج المود, وضبط فك معي الكفر الايسر من السيارة , بس باقي اضيف اوامر الاصلاح + guiGetText يسوي على حسب الرقم اللي يحطه الاعب , + جاب لي حالة الكفرات كلها , Link to comment
acount deleted Posted June 5, 2014 Share Posted June 5, 2014 والله سويته على السريع , شوف يضبط واكتب في اف 8 debugscript 3 , وشغل السكربت وشوف وش يطلع لك من اخطاْء, GUIEditor = { button = {}, window = {}, edit = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(272, 110, 314, 387, "فـكَ الكفر", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.99) GUIEditor.label[1] = guiCreateLabel(194, 32, 106, 15, "[0] Normal | طبيعي", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 151, 233, 21) GUIEditor.label[2] = guiCreateLabel(198, 57, 106, 15, "[1] Flat | مـنسسم", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 30, 75, 223) GUIEditor.label[3] = guiCreateLabel(15, 32, 133, 19, "[2] Fallen Off | مـفكوك", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[3], 168, 6, 6) GUIEditor.label[4] = guiCreateLabel(15, 57, 158, 19, "[3] Collisionless | نـآزل", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[4], 158, 96, 15) GUIEditor.label[5] = guiCreateLabel(222, 121, 68, 34, "Front Right \n قدام يمين ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[5], 41, 131, 128) GUIEditor.edit[1] = guiCreateEdit(219, 161, 81, 25, "", false, GUIEditor.window[1]) GUIEditor.label[6] = guiCreateLabel(20, 121, 68, 34, "Front Left\n قدام يسار ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[6], 65, 42, 129) GUIEditor.edit[2] = guiCreateEdit(15, 161, 81, 25, "", false, GUIEditor.window[1]) GUIEditor.label[7] = guiCreateLabel(21, 217, 75, 30, "Rear Left\nورا يسار ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[7], 9, 161, 106) GUIEditor.label[8] = guiCreateLabel(229, 217, 75, 30, "Rear Right\nورا يمين ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[8], 74, 135, 34) GUIEditor.edit[3] = guiCreateEdit(15, 257, 81, 23, "", false, GUIEditor.window[1]) GUIEditor.edit[4] = guiCreateEdit(219, 254, 84, 26, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(98, 332, 121, 39, "فك الكفر", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.label[9] = guiCreateLabel(11, 302, 116, 20, "Created By : mnGr7", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[9], 151, 233, 21) function OpenWin() if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F7", "down", OpenWin) addEventHandler ("onClientGUIClick", getRootElement(), function () if source == (GUIEditor.button[1]) then function scriptWheelStates (newFLeft, newRLeft, newFRight, newRRight) local states = { [0]="inflated", [1]="flat", [2]="fallen off" } local frontLeft, rearLeft, frontRight, rearRight = getVehicleWheelStates ( theVehicle ) outputChatBox ( "Your vehicle's wheel states:", localPlayer ) outputChatBox ( "Front-Left: " .. states [ frontLeft ] .. ", Front-Right: " .. states [ frontRight ] .. ", Rear-Left: " .. states [ rearLeft ] .. ", Rear-Right: " .. states [ rearRight ], localPlayer ) end else outputChatBox ( "You have to be in a vehicle to use this command.", thePlayer ) local theVehicle = getPedOccupiedVehicle ( localPlayer ) if ( theVehicle ) then if ( newFLeft ) then if not setVehicleWheelStates ( theVehicle, newFLeft, newRLeft, newFRight, newRRight ) then outputChatBox ( "Bad arguments." ) end end outputChatBox("تـم فك الـكفر") end end end ) نسخ مع لصق من الويكي https://wiki.multitheftauto.com/wiki/SetVehicleWheelStates حتى الديبق عجز عن التعليق هههههههههههههههههه الله يعطيك العافية يابعد راسي , تصدق جلست احاول فيه ساعه , ابرمج المود, وضبط فك معي الكفر الايسر من السيارة , بس باقي اضيف اوامر الاصلاح + guiGetText يسوي على حسب الرقم اللي يحطه الاعب , + جاب لي حالة الكفرات كلها , خخخخخخخخ يعني لما تخلص راح تاخذه لنفسك و تنسى صاحب الموضوع Link to comment
Max+ Posted June 5, 2014 Share Posted June 5, 2014 هههههههه والله مشوار السكربت مره مشوار لازم كل ادت تضيف له فنكشنات تغيير حالة الكفر حسب الاختيار يبي له مخمه ههههههههههههههههه Link to comment
فاّرس Posted June 5, 2014 Share Posted June 5, 2014 ? bindKey انت تبي تفك الكفر بالزر او بـ Link to comment
acount deleted Posted June 5, 2014 Share Posted June 5, 2014 ? bindKey انت تبي تفك الكفر بالزر او بـ شوف الكود فيه ادت و تكتب فيه و لما تضغط عالزر ينفك Link to comment
فاّرس Posted June 5, 2014 Share Posted June 5, 2014 (edited) تفتح اللوحه اف2 -- Client Side # GUIEditor = { button = {}, window = {}, edit = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(272, 110, 314, 387, "فـكَ الكفر", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.99) guiSetVisible ( GUIEditor.window[1], false ) GUIEditor.label[1] = guiCreateLabel(194, 32, 106, 15, "[0] Normal | طبيعي", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 151, 233, 21) GUIEditor.label[2] = guiCreateLabel(198, 57, 106, 15, "[1] Flat | مـنسسم", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 30, 75, 223) GUIEditor.label[3] = guiCreateLabel(15, 32, 133, 19, "[2] Fallen Off | مـفكوك", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[3], 168, 6, 6) GUIEditor.label[4] = guiCreateLabel(15, 57, 158, 19, "[3] Collisionless | نـآزل", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[4], 158, 96, 15) GUIEditor.label[5] = guiCreateLabel(222, 121, 68, 34, "Front Right \n قدام يمين ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[5], 41, 131, 128) GUIEditor.edit[1] = guiCreateEdit(219, 161, 81, 25, "", false, GUIEditor.window[1]) GUIEditor.label[6] = guiCreateLabel(20, 121, 68, 34, "Front Left\n قدام يسار ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[6], 65, 42, 129) GUIEditor.edit[2] = guiCreateEdit(15, 161, 81, 25, "", false, GUIEditor.window[1]) GUIEditor.label[7] = guiCreateLabel(21, 217, 75, 30, "Rear Left\nورا يسار ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[7], 9, 161, 106) GUIEditor.label[8] = guiCreateLabel(229, 217, 75, 30, "Rear Right\nورا يمين ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[8], 74, 135, 34) GUIEditor.edit[3] = guiCreateEdit(15, 257, 81, 23, "", false, GUIEditor.window[1]) GUIEditor.edit[4] = guiCreateEdit(219, 254, 84, 26, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(98, 332, 121, 39, "فك الكفر", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.label[9] = guiCreateLabel(11, 302, 116, 20, "Created By : mnGr7", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[9], 151, 233, 21) bindKey('F2', 'down',function () guiSetVisible ( GUIEditor.window[1], not guiGetVisible ( GUIEditor.window[1] ) ) showCursor(guiGetVisible ( GUIEditor.window[1] )) guiSetInputEnabled(guiGetVisible ( GUIEditor.window[1] )) end ) addEventHandler ('onClientGUIClick', GUIEditor.button[1],function () local theVehicle = getPedOccupiedVehicle ( localPlayer ) if ( theVehicle ) then local frontRight,frontLeft,rearLeft,rearRight = guiGetText( GUIEditor.edit[1] ),guiGetText( GUIEditor.edit[2] ),guiGetText( GUIEditor.edit[3] ),guiGetText( GUIEditor.edit[4] ) setVehicleWheelStates ( theVehicle, frontLeft or -1, rearLeft or -1 , frontRight or -1 , rearRight or -1 ) end end,false ) Edited June 5, 2014 by Guest Link to comment
Max+ Posted June 5, 2014 Share Posted June 5, 2014 تفتح اللوحه اف2 -- Client Side # GUIEditor = { button = {}, window = {}, edit = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(272, 110, 314, 387, "فـكَ الكفر", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.99) guiSetVisible ( GUIEditor.window[1], false ) GUIEditor.label[1] = guiCreateLabel(194, 32, 106, 15, "[0] Normal | طبيعي", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 151, 233, 21) GUIEditor.label[2] = guiCreateLabel(198, 57, 106, 15, "[1] Flat | مـنسسم", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 30, 75, 223) GUIEditor.label[3] = guiCreateLabel(15, 32, 133, 19, "[2] Fallen Off | مـفكوك", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[3], 168, 6, 6) GUIEditor.label[4] = guiCreateLabel(15, 57, 158, 19, "[3] Collisionless | نـآزل", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[4], 158, 96, 15) GUIEditor.label[5] = guiCreateLabel(222, 121, 68, 34, "Front Right \n قدام يمين ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[5], 41, 131, 128) GUIEditor.edit[1] = guiCreateEdit(219, 161, 81, 25, "", false, GUIEditor.window[1]) GUIEditor.label[6] = guiCreateLabel(20, 121, 68, 34, "Front Left\n قدام يسار ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[6], 65, 42, 129) GUIEditor.edit[2] = guiCreateEdit(15, 161, 81, 25, "", false, GUIEditor.window[1]) GUIEditor.label[7] = guiCreateLabel(21, 217, 75, 30, "Rear Left\nورا يسار ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[7], 9, 161, 106) GUIEditor.label[8] = guiCreateLabel(229, 217, 75, 30, "Rear Right\nورا يمين ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[8], 74, 135, 34) GUIEditor.edit[3] = guiCreateEdit(15, 257, 81, 23, "", false, GUIEditor.window[1]) GUIEditor.edit[4] = guiCreateEdit(219, 254, 84, 26, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(98, 332, 121, 39, "فك الكفر", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.label[9] = guiCreateLabel(11, 302, 116, 20, "Created By : mnGr7", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[9], 151, 233, 21) bindKey('F2', 'down',function () guiSetVisible ( GUIEditor.window[1], not guiGetVisible ( GUIEditor.window[1] ) ) showCursor(guiGetVisible ( GUIEditor.window[1] )) guiSetInputEnabled(guiGetVisible ( GUIEditor.window[1] )) end ) addEventHandler ('onClientGUIClick', GUIEditor.button[1],function () local theVehicle = getPedOccupiedVehicle ( localPlayer ) if ( theVehicle ) then local frontRight,frontLeft,rearLeft,rearRight = guiGetText( GUIEditor.edit[1] ),guiGetText( GUIEditor.edit[2] ),guiGetText( GUIEditor.edit[3] ),guiGetText( GUIEditor.edit[4] ) setVehicleWheelStates ( theVehicle, frontLeft or '-1', rearLeft or '-1' , frontRight or '-1' , rearRight or '-1' ) end end,false ) TheBest , حبيت اسئلك وش هي -1 لاني محصلها بأكثر من موضوع ليه ماستخدمت setVehicleWheelStates ( theVehicle, 2 ) لاني استخدمته وفك لي الكفر , Link to comment
^#Dream Posted June 5, 2014 Author Share Posted June 5, 2014 مششكور TheBest الله يعطيك الععافيةة . . Link to comment
فاّرس Posted June 5, 2014 Share Posted June 5, 2014 العفو , حياك الله + Max @ ( -1 for no change ) ^ اقتباس من الويكي Link to comment
Max+ Posted June 5, 2014 Share Posted June 5, 2014 اها , يعطيك العافية حبيبي , بعد اذن حبيبي دريم , انا مسوي نفس الفكرة لان بختلاف شوي , Link to comment
iMr.Dawix~# Posted June 6, 2014 Share Posted June 6, 2014 اها , يعطيك العافية حبيبي , بعد اذن حبيبي دريم , انا مسوي نفس الفكرة لان بختلاف شوي , الفكره من زمان موجوده من اخوي الكارثه وقلي فكرتها صنعتها بمحترفين جراند بعدين بدأ التقليد ,, الزبده من كلامي فوق انه ماحد له حق يقول فكرته المود من قبل م تسوونه موجود وقبل م تفكرون به Link to comment
Max+ Posted June 6, 2014 Share Posted June 6, 2014 , والله الحين كلها صايرة تقلد , حتى قراند العرب , ترا حرب العصابات موجود اول بسيرفر , اجنبي , اما بالنسبة للفكرة , بس اللي يغير السكربت ويغيره كليا , ذا يعتبر شي جديد , 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