-
Posts
52 -
Joined
-
Last visited
Everything posted by hunter96
-
لا شكر امبي اعتمد على نفس امبي افهم في البرمجة اذا في غلط امبي اعرف شنو الغلط وإصلحه يلا الله كريم
-
لو سمحت انا ادور مساعد هنا اذا ما تقدر اتساعدني لو سمحت لا ترد احسن
-
client side GUIEditor = { button = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() onClientGUIClick bindKey("F7", "down", OpenWin) vehiclesshop = guiCreateWindow(115, 203, 235, 264, "VEHICLES SHOP", false) guiWindowSetSizable(vehiclesshop, false) guiSetAlpha(vehiclesshop, 0.70) guiSetProperty(vehiclesshop, "CaptionColour", "FF04F93E") GUIEditor.label[1] = guiCreateLabel(58, 15, 123, 40, "Bicycles", false, vehiclesshop) guiSetFont(GUIEditor.label[1], "sa-header") guiLabelSetColor(GUIEditor.label[1], 7, 30, 247) GUIEditor.button[1] = guiCreateButton(10, 65, 64, 29, "BIKE", false, vehiclesshop) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFF607DD") GUIEditor.button[2] = guiCreateButton(156, 65, 64, 29, "BMX", false, vehiclesshop) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFF607DD") GUIEditor.label[2] = guiCreateLabel(26, 98, 63, 23, "1500$", false, vehiclesshop) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 255, 0, 0) GUIEditor.label[3] = guiCreateLabel(167, 98, 63, 23, "1500$", false, vehiclesshop) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 255, 0, 0) GUIEditor.label[4] = guiCreateLabel(53, 111, 154, 38, "CARS", false, vehiclesshop) guiSetFont(GUIEditor.label[4], "sa-header") guiLabelSetColor(GUIEditor.label[4], 7, 30, 247) GUIEditor.button[3] = guiCreateButton(12, 155, 91, 36, "SUPER GT", false, vehiclesshop) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFF607DD") GUIEditor.button[4] = guiCreateButton(134, 155, 91, 36, "ZR-350", false, vehiclesshop) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFF607DD") GUIEditor.button[5] = guiCreateButton(134, 208, 91, 36, "INFERNUS", false, vehiclesshop) guiSetFont(GUIEditor.button[5], "default-bold-small") guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFF607DD") GUIEditor.button[6] = guiCreateButton(12, 208, 91, 36, "SULTAN", false, vehiclesshop) guiSetFont(GUIEditor.button[6], "default-bold-small") guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFF607DD") GUIEditor.label[5] = guiCreateLabel(33, 244, 70, 23, "13000$", false, vehiclesshop) guiSetFont(GUIEditor.label[5], "default-bold-small") guiLabelSetColor(GUIEditor.label[5], 255, 0, 0) GUIEditor.label[6] = guiCreateLabel(33, 191, 70, 23, "20000$", false, vehiclesshop) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetColor(GUIEditor.label[6], 255, 0, 0) GUIEditor.label[7] = guiCreateLabel(155, 191, 70, 23, "20000$", false, vehiclesshop) guiSetFont(GUIEditor.label[7], "default-bold-small") guiLabelSetColor(GUIEditor.label[7], 255, 0, 0) GUIEditor.label[8] = guiCreateLabel(155, 241, 70, 23, "20000$", false, vehiclesshop) guiSetFont(GUIEditor.label[8], "default-bold-small") guiLabelSetColor(GUIEditor.label[8], 255, 0, 0) GUIEditor.button[7] = guiCreateButton(79, 65, 74, 29, "Mountain Bike", false, vehiclesshop) guiSetFont(GUIEditor.button[7], "default-bold-small") guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FFF607DD") GUIEditor.label[9] = guiCreateLabel(94, 98, 63, 23, "2500$", false, vehiclesshop) guiSetFont(GUIEditor.label[9], "default-bold-small") guiLabelSetColor(GUIEditor.label[9], 255, 0, 0) end end) server side function outputChatBox("شوب المركبات من صنع هنتر vehicles shop by hunter96 ",255,0,0,true) outputChatBox("TO OPEN vehicles shop PRESS F7 ",255,0,0,true) b1=GUIEditor.button[1] b2=GUIEditor.button[2] b3=GUIEditor.button[3] b4=GUIEditor.button[4] b5=GUIEditor.button[5] b6=GUIEditor.button[6] b7=GUIEditor.button[7] myCommandHandler(thePlayer, command) local b1 = getPlayerMoney(thePlayer) if ( b1 >= 1500 ) then takePlayerMoney(1500) createVehicle ( 509, 0, 0, 255 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) local b2 = getPlayerMoney(thePlayer) if ( b2 >= 1500 ) then takePlayerMoney(1500) createVehicle ( 481, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) local b3 = getPlayerMoney(thePlayer) if ( b3 >= 20000 ) then takePlayerMoney(20000) createVehicle ( 506, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) local b4 = getPlayerMoney(thePlayer) if ( b4 >= 20000 ) then takePlayerMoney(20000) createVehicle ( 477, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) local b5 = getPlayerMoney(thePlayer) if ( b5 >= 20000 ) then takePlayerMoney(20000) createVehicle ( 411, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) local b6 = getPlayerMoney(thePlayer) if ( b6 >= 13000 ) then takePlayerMoney(13000) createVehicle ( 560, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) local b7 = getPlayerMoney(thePlayer) if ( b7 >= 2500 ) then takePlayerMoney(2500) createVehicle ( 510, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) end end) ويش المشكلة بضبط
-
شباب احد يعيني الكودات الا لازمتني الحين مااعرف ويش اسوي GUIEditor = { button = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() vehiclesshop = guiCreateWindow(115, 203, 235, 264, "VEHICLES SHOP", false) guiWindowSetSizable(vehiclesshop, false) guiSetAlpha(vehiclesshop, 0.70) guiSetProperty(vehiclesshop, "CaptionColour", "FF04F93E") GUIEditor.label[1] = guiCreateLabel(58, 15, 123, 40, "Bicycles", false, vehiclesshop) guiSetFont(GUIEditor.label[1], "sa-header") guiLabelSetColor(GUIEditor.label[1], 7, 30, 247) GUIEditor.button[1] = guiCreateButton(10, 65, 64, 29, "BIKE", false, vehiclesshop) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFF607DD") GUIEditor.button[2] = guiCreateButton(156, 65, 64, 29, "BMX", false, vehiclesshop) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFF607DD") GUIEditor.label[2] = guiCreateLabel(26, 98, 63, 23, "1500$", false, vehiclesshop) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 255, 0, 0) GUIEditor.label[3] = guiCreateLabel(167, 98, 63, 23, "1500$", false, vehiclesshop) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 255, 0, 0) GUIEditor.label[4] = guiCreateLabel(53, 111, 154, 38, "CARS", false, vehiclesshop) guiSetFont(GUIEditor.label[4], "sa-header") guiLabelSetColor(GUIEditor.label[4], 7, 30, 247) GUIEditor.button[3] = guiCreateButton(12, 155, 91, 36, "SUPER GT", false, vehiclesshop) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFF607DD") GUIEditor.button[4] = guiCreateButton(134, 155, 91, 36, "ZR-350", false, vehiclesshop) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFF607DD") GUIEditor.button[5] = guiCreateButton(134, 208, 91, 36, "INFERNUS", false, vehiclesshop) guiSetFont(GUIEditor.button[5], "default-bold-small") guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFF607DD") GUIEditor.button[6] = guiCreateButton(12, 208, 91, 36, "SULTAN", false, vehiclesshop) guiSetFont(GUIEditor.button[6], "default-bold-small") guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFF607DD") GUIEditor.label[5] = guiCreateLabel(33, 244, 70, 23, "13000$", false, vehiclesshop) guiSetFont(GUIEditor.label[5], "default-bold-small") guiLabelSetColor(GUIEditor.label[5], 255, 0, 0) GUIEditor.label[6] = guiCreateLabel(33, 191, 70, 23, "20000$", false, vehiclesshop) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetColor(GUIEditor.label[6], 255, 0, 0) GUIEditor.label[7] = guiCreateLabel(155, 191, 70, 23, "20000$", false, vehiclesshop) guiSetFont(GUIEditor.label[7], "default-bold-small") guiLabelSetColor(GUIEditor.label[7], 255, 0, 0) GUIEditor.label[8] = guiCreateLabel(155, 241, 70, 23, "20000$", false, vehiclesshop) guiSetFont(GUIEditor.label[8], "default-bold-small") guiLabelSetColor(GUIEditor.label[8], 255, 0, 0) GUIEditor.button[7] = guiCreateButton(79, 65, 74, 29, "Mountain Bike", false, vehiclesshop) guiSetFont(GUIEditor.button[7], "default-bold-small") guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FFF607DD") GUIEditor.label[9] = guiCreateLabel(94, 98, 63, 23, "2500$", false, vehiclesshop) guiSetFont(GUIEditor.label[9], "default-bold-small") guiLabelSetColor(GUIEditor.label[9], 255, 0, 0) end) شباب انا مبتدء ساعدوني
-
انزين تقدر اتقول لي ويش استخدم من الاكود عشان اشغل لوحتي GUIEditor = { button = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() vehiclesshop = guiCreateWindow(115, 203, 235, 264, "VEHICLES SHOP", false) guiWindowSetSizable(vehiclesshop, false) guiSetAlpha(vehiclesshop, 0.70) guiSetProperty(vehiclesshop, "CaptionColour", "FF04F93E") GUIEditor.label[1] = guiCreateLabel(58, 15, 123, 40, "Bicycles", false, vehiclesshop) guiSetFont(GUIEditor.label[1], "sa-header") guiLabelSetColor(GUIEditor.label[1], 7, 30, 247) GUIEditor.button[1] = guiCreateButton(10, 65, 64, 29, "BIKE", false, vehiclesshop) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFF607DD") GUIEditor.button[2] = guiCreateButton(156, 65, 64, 29, "BMX", false, vehiclesshop) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFF607DD") GUIEditor.label[2] = guiCreateLabel(26, 98, 63, 23, "1500$", false, vehiclesshop) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 255, 0, 0) GUIEditor.label[3] = guiCreateLabel(167, 98, 63, 23, "1500$", false, vehiclesshop) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 255, 0, 0) GUIEditor.label[4] = guiCreateLabel(53, 111, 154, 38, "CARS", false, vehiclesshop) guiSetFont(GUIEditor.label[4], "sa-header") guiLabelSetColor(GUIEditor.label[4], 7, 30, 247) GUIEditor.button[3] = guiCreateButton(12, 155, 91, 36, "SUPER GT", false, vehiclesshop) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFF607DD") GUIEditor.button[4] = guiCreateButton(134, 155, 91, 36, "ZR-350", false, vehiclesshop) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFF607DD") GUIEditor.button[5] = guiCreateButton(134, 208, 91, 36, "INFERNUS", false, vehiclesshop) guiSetFont(GUIEditor.button[5], "default-bold-small") guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFF607DD") GUIEditor.button[6] = guiCreateButton(12, 208, 91, 36, "SULTAN", false, vehiclesshop) guiSetFont(GUIEditor.button[6], "default-bold-small") guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFF607DD") GUIEditor.label[5] = guiCreateLabel(33, 244, 70, 23, "13000$", false, vehiclesshop) guiSetFont(GUIEditor.label[5], "default-bold-small") guiLabelSetColor(GUIEditor.label[5], 255, 0, 0) GUIEditor.label[6] = guiCreateLabel(33, 191, 70, 23, "20000$", false, vehiclesshop) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetColor(GUIEditor.label[6], 255, 0, 0) GUIEditor.label[7] = guiCreateLabel(155, 191, 70, 23, "20000$", false, vehiclesshop) guiSetFont(GUIEditor.label[7], "default-bold-small") guiLabelSetColor(GUIEditor.label[7], 255, 0, 0) GUIEditor.label[8] = guiCreateLabel(155, 241, 70, 23, "20000$", false, vehiclesshop) guiSetFont(GUIEditor.label[8], "default-bold-small") guiLabelSetColor(GUIEditor.label[8], 255, 0, 0) GUIEditor.button[7] = guiCreateButton(79, 65, 74, 29, "Mountain Bike", false, vehiclesshop) guiSetFont(GUIEditor.button[7], "default-bold-small") guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FFF607DD") GUIEditor.label[9] = guiCreateLabel(94, 98, 63, 23, "2500$", false, vehiclesshop) guiSetFont(GUIEditor.label[9], "default-bold-small") guiLabelSetColor(GUIEditor.label[9], 255, 0, 0)
-
اقدر اسويه بس بالكلنت او لازم سيرفر؟؟؟ GUIEditor = { button = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() vehiclesshop = guiCreateWindow(115, 203, 235, 264, "VEHICLES SHOP", false) guiWindowSetSizable(vehiclesshop, false) guiSetAlpha(vehiclesshop, 0.70) guiSetProperty(vehiclesshop, "CaptionColour", "FF04F93E") GUIEditor.label[1] = guiCreateLabel(58, 15, 123, 40, "Bicycles", false, vehiclesshop) guiSetFont(GUIEditor.label[1], "sa-header") guiLabelSetColor(GUIEditor.label[1], 7, 30, 247) GUIEditor.button[1] = guiCreateButton(10, 65, 64, 29, "BIKE", false, vehiclesshop) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFF607DD") GUIEditor.button[2] = guiCreateButton(156, 65, 64, 29, "BMX", false, vehiclesshop) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFF607DD") GUIEditor.label[2] = guiCreateLabel(26, 98, 63, 23, "1500$", false, vehiclesshop) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 255, 0, 0) GUIEditor.label[3] = guiCreateLabel(167, 98, 63, 23, "1500$", false, vehiclesshop) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 255, 0, 0) GUIEditor.label[4] = guiCreateLabel(53, 111, 154, 38, "CARS", false, vehiclesshop) guiSetFont(GUIEditor.label[4], "sa-header") guiLabelSetColor(GUIEditor.label[4], 7, 30, 247) GUIEditor.button[3] = guiCreateButton(12, 155, 91, 36, "SUPER GT", false, vehiclesshop) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFF607DD") GUIEditor.button[4] = guiCreateButton(134, 155, 91, 36, "ZR-350", false, vehiclesshop) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFF607DD") GUIEditor.button[5] = guiCreateButton(134, 208, 91, 36, "INFERNUS", false, vehiclesshop) guiSetFont(GUIEditor.button[5], "default-bold-small") guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFF607DD") GUIEditor.button[6] = guiCreateButton(12, 208, 91, 36, "SULTAN", false, vehiclesshop) guiSetFont(GUIEditor.button[6], "default-bold-small") guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFF607DD") GUIEditor.label[5] = guiCreateLabel(33, 244, 70, 23, "13000$", false, vehiclesshop) guiSetFont(GUIEditor.label[5], "default-bold-small") guiLabelSetColor(GUIEditor.label[5], 255, 0, 0) GUIEditor.label[6] = guiCreateLabel(33, 191, 70, 23, "20000$", false, vehiclesshop) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetColor(GUIEditor.label[6], 255, 0, 0) GUIEditor.label[7] = guiCreateLabel(155, 191, 70, 23, "20000$", false, vehiclesshop) guiSetFont(GUIEditor.label[7], "default-bold-small") guiLabelSetColor(GUIEditor.label[7], 255, 0, 0) GUIEditor.label[8] = guiCreateLabel(155, 241, 70, 23, "20000$", false, vehiclesshop) guiSetFont(GUIEditor.label[8], "default-bold-small") guiLabelSetColor(GUIEditor.label[8], 255, 0, 0) GUIEditor.button[7] = guiCreateButton(79, 65, 74, 29, "Mountain Bike", false, vehiclesshop) guiSetFont(GUIEditor.button[7], "default-bold-small") guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FFF607DD") GUIEditor.label[9] = guiCreateLabel(94, 98, 63, 23, "2500$", false, vehiclesshop) guiSetFont(GUIEditor.label[9], "default-bold-small") guiLabelSetColor(GUIEditor.label[9], 255, 0, 0) addEvent() bindKey("F7", "down", OpenWin) outputChatBox("شوب المركبات من صنع هنتر vehicles shop by hunter96 ",255,0,0,true) outputChatBox("TO OPEN vehicles shop PRESS F7 ",255,0,0,true) b1=GUIEditor.button[1] b2=GUIEditor.button[2] b3=GUIEditor.button[3] b4=GUIEditor.button[4] b5=GUIEditor.button[5] b6=GUIEditor.button[6] b7=GUIEditor.button[7] function myCommandHandler(thePlayer, command) local b1 = getElementPosition(thePlayer) if ( b1 >= 1500 ) then takePlayerMoney(1500) triggerServerEvent("onBuy",createVehicle ( 509, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) local b2 = getElementPosition(thePlayer) if ( b2 >= 1500 ) then takePlayerMoney(1500) triggerServerEvent("onBuy",createVehicle ( 481, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) local b3 = getElementPosition(thePlayer) if ( b3 >= 20000 ) then takePlayerMoney(20000) triggerServerEvent("onBuy",createVehicle ( 506, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) local b4 = getElementPosition(thePlayer) if ( b4 >= 20000 ) then takePlayerMoney(20000) triggerServerEvent("onBuy",createVehicle ( 477, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) local b5 = getElementPosition(thePlayer) if ( b5 >= 20000 ) then takePlayerMoney(20000) triggerServerEvent("onBuy",createVehicle ( 411, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) local b6 = getElementPosition(thePlayer) if ( b6 >= 13000 ) then takePlayerMoney(13000) triggerServerEvent("onBuy",createVehicle ( 560, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) local b7 = getElementPosition(thePlayer) if ( b7 >= 2500 ) then takePlayerMoney(2500) triggerServerEvent("onBuy",createVehicle ( 510, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) end)
-
سلام عليكم انا مسوي شوب سيارات المشكلة اللوحة ماتضهر ابي اعرف ويش المشكلة client GUIEditor = { button = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() vehiclesshop = guiCreateWindow(115, 203, 235, 264, "VEHICLES SHOP", false) guiWindowSetSizable(vehiclesshop, false) guiSetAlpha(vehiclesshop, 0.70) guiSetProperty(vehiclesshop, "CaptionColour", "FF04F93E") GUIEditor.label[1] = guiCreateLabel(58, 15, 123, 40, "Bicycles", false, vehiclesshop) guiSetFont(GUIEditor.label[1], "sa-header") guiLabelSetColor(GUIEditor.label[1], 7, 30, 247) GUIEditor.button[1] = guiCreateButton(10, 65, 64, 29, "BIKE", false, vehiclesshop) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFF607DD") GUIEditor.button[2] = guiCreateButton(156, 65, 64, 29, "BMX", false, vehiclesshop) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFF607DD") GUIEditor.label[2] = guiCreateLabel(26, 98, 63, 23, "1500$", false, vehiclesshop) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 255, 0, 0) GUIEditor.label[3] = guiCreateLabel(167, 98, 63, 23, "1500$", false, vehiclesshop) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 255, 0, 0) GUIEditor.label[4] = guiCreateLabel(53, 111, 154, 38, "CARS", false, vehiclesshop) guiSetFont(GUIEditor.label[4], "sa-header") guiLabelSetColor(GUIEditor.label[4], 7, 30, 247) GUIEditor.button[3] = guiCreateButton(12, 155, 91, 36, "SUPER GT", false, vehiclesshop) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFF607DD") GUIEditor.button[4] = guiCreateButton(134, 155, 91, 36, "ZR-350", false, vehiclesshop) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFF607DD") GUIEditor.button[5] = guiCreateButton(134, 208, 91, 36, "INFERNUS", false, vehiclesshop) guiSetFont(GUIEditor.button[5], "default-bold-small") guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFF607DD") GUIEditor.button[6] = guiCreateButton(12, 208, 91, 36, "SULTAN", false, vehiclesshop) guiSetFont(GUIEditor.button[6], "default-bold-small") guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFF607DD") GUIEditor.label[5] = guiCreateLabel(33, 244, 70, 23, "13000$", false, vehiclesshop) guiSetFont(GUIEditor.label[5], "default-bold-small") guiLabelSetColor(GUIEditor.label[5], 255, 0, 0) GUIEditor.label[6] = guiCreateLabel(33, 191, 70, 23, "20000$", false, vehiclesshop) guiSetFont(GUIEditor.label[6], "default-bold-small") guiLabelSetColor(GUIEditor.label[6], 255, 0, 0) GUIEditor.label[7] = guiCreateLabel(155, 191, 70, 23, "20000$", false, vehiclesshop) guiSetFont(GUIEditor.label[7], "default-bold-small") guiLabelSetColor(GUIEditor.label[7], 255, 0, 0) GUIEditor.label[8] = guiCreateLabel(155, 241, 70, 23, "20000$", false, vehiclesshop) guiSetFont(GUIEditor.label[8], "default-bold-small") guiLabelSetColor(GUIEditor.label[8], 255, 0, 0) GUIEditor.button[7] = guiCreateButton(79, 65, 74, 29, "Mountain Bike", false, vehiclesshop) guiSetFont(GUIEditor.button[7], "default-bold-small") guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FFF607DD") GUIEditor.label[9] = guiCreateLabel(94, 98, 63, 23, "2500$", false, vehiclesshop) guiSetFont(GUIEditor.label[9], "default-bold-small") guiLabelSetColor(GUIEditor.label[9], 255, 0, 0) end end) server bindKey("F7", "down", OpenWin) outputChatBox("شوب المركبات من صنع هنتر vehicles shop by hunter96 ",255,0,0,true) outputChatBox("TO OPEN vehicles shop PRESS F7 ",255,0,0,true) b1=GUIEditor.button[1] b2=GUIEditor.button[2] b3=GUIEditor.button[3] b4=GUIEditor.button[4] b5=GUIEditor.button[5] b6=GUIEditor.button[6] b7=GUIEditor.button[7] function myCommandHandler(thePlayer, command) local b1 = getElementPosition(thePlayer) if ( b1 >= 1500 ) then takePlayerMoney(1500) triggerServerEvent("onBuy",createVehicle ( 509, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) local b2 = getElementPosition(thePlayer) if ( b2 >= 1500 ) then takePlayerMoney(1500) triggerServerEvent("onBuy",createVehicle ( 481, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) local b3 = getElementPosition(thePlayer) if ( b3 >= 20000 ) then takePlayerMoney(20000) triggerServerEvent("onBuy",createVehicle ( 506, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) local b4 = getElementPosition(thePlayer) if ( b4 >= 20000 ) then takePlayerMoney(20000) triggerServerEvent("onBuy",createVehicle ( 477, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) local b5 = getElementPosition(thePlayer) if ( b5 >= 20000 ) then takePlayerMoney(20000) triggerServerEvent("onBuy",createVehicle ( 411, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) local b6 = getElementPosition(thePlayer) if ( b6 >= 13000 ) then takePlayerMoney(13000) triggerServerEvent("onBuy",createVehicle ( 560, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) local b7 = getElementPosition(thePlayer) if ( b7 >= 2500 ) then takePlayerMoney(2500) triggerServerEvent("onBuy",createVehicle ( 510, 0, 0, 0 ) outputChatBox("* تم شراء المركبة " .. name .. "",0,255,0,true) else outputChatBox("* ليس لديك المال الكافي ",255,0,0,true) end end)
-
اشتغل مشكورين الله يكثر من امثالكم
-
جربته والله بعد نفس الشي يشتغل الماركر وابجيكت بس الأضغط تاب ما يشتغل الصوت
-
غيرته بعد نفس الشي ورني xml و client "hunter96" version="1.0" type="script" name="speaker" description=" Music In the area cj" /> marker = createMarker ( 2494.99, -1643, 12.80, "corona", 2, 0, 0, 255 ) Object = createObject ( 2104, 2495, -1642, 12.80, 0, 0, 0 ) addEventHandler ( "onClientMarkerHit", resourceRoot, function ( element ) if ( source == marker ) then setElementData ( localPlayer, "ss", true ) end end) bindKey("tap", "down", function() if ( getElementData( localPlayer, "ss", true )) then if isElement ( si ) then destroyElement ( si ) end si = playSound("1.mp3") end end)
-
"hunter96" version="1.0" type="script" name="speaker" description=" Music In the area cj" />
-
للأسف مايطلع صوت بس اوبجكت وماركر شغالين
-
اغير كلمة si ? مايطلع صوت من السماعة في شي ثاني اغيره غير الأحداثيات؟
-
الأبجيكت والماركر يشتغلون بس المشكلة في صوت شكرا على مساعدة
-
مشكور ماتقص احلى رد اسمعه اليوم الله يخليك للموقع
-
لوسمحتو ممكن على اقل تعطوني اكواد الا لازم استخدمهم
-
اعرف انجليزي مشكور على روابط تسلم لي عزيزي
-
مشكور على رد التشجيعي عندك روابط شرح الاساسيات ؟؟؟
-
السلا م عليك صارلي فتر هديت البرمجة فتلخبط علي الموضوع ابي اسوي سماعة اتروح ليها تضغط تاب تشتغل الموسيقو ورد تضرب تاب اتبند الموسيقى بس المشكلة لا سماعة تطلع ولا الماركر object createObject ( int 2104, float 2495.8, float -1641.9, float 12.8, [ float 0, float 0, float 255, bool isLowLOD = false ] ) marker createMarker ( float 2495.6, float -1642.8, float 12.8 [, string theType = "corona", float size = 4.0, int r = 0, int g = 0, int b = 255, int a = 255 ] ) addEventHandler("onClientGUIClick", root, function () if source tab then local sound = playSound("song.mp3") setSoundVolume(sound, 1) end end ) انا مبتدء لا حد يطنز
-
تــــــــــسلم ايدك ذا كيلر بس ياليت تقول لي ويش الخطأ في الكود عشان ما اغلط نفس الغلط مرة ثانية
