Jump to content

SAM!!

Members
  • Posts

    259
  • Joined

  • Last visited

Everything posted by SAM!!

  1. Talis طيب وش اسوي ياحبيب ابية كمان شراء بفلوس ممكن تظبطهم لي لاهنت؟
  2. Talis اخي بجربة بس لاهنت في شئ تاني لاهنت الزر رقم 3 مسوي شراء اختفاء بس لما اشترية يظهر لي اني مخفي بس باقي العيال انا ظاهر عندهم مو مخفي كمان في شئ ابي الشراء ب 300 الف للاأختفاء مشكور مسبقا اخوي
  3. اخي اانا ادري الكود بس ابية كامل وكيف احطة ووين احطة بالكلنت ولا السيرفر مبتدأ Talis coNolel
  4. #,+( _xiRoc[K]; > معي الكود ياغالي بس اسوية مايظبط ابي كود كامل يتحط بالكلنت ... وبالنسبة للكود التاني وين احطة بالسيرفر ولا الكلنت؟ ووش وضعة اانا مبتدأ مانبي خبير يا الطيب وبالنسبة للكود الثاني فهو هيك بالكلنت function OpenWin() if guiGetVisible ( GUIEditor.window[1] ) then guiSetVisible ( GUIEditor.window[1], true ) showCursor(false) <______________________ذا الكود guiSetInputEnabled(false) else بس مايظبط تطلع بوجهي بس افتح السيرفر يرجو المساعدة ضروري
  5. السلام عليكم اخواتي ابي مساعدة لاهنتم سيرفرات التكتيك بيكون مخفي منها ا الهيد حق الفلوس ابية ظاهر اذا لاعب دخل او خرج يضل ظاهر بدون ريستارت للمود حق الفلوس اذا تغيرت الجولة اريدة ظاهر _____ شئ تاني مسوي شوب اسلحة وشغال تمام بس مشكلة بس افتح السيرفر يجي بوجهي لازم اضغط ااف7 لاغلقة انا ابية مايفتح الا لما اضغط علي اف7 ومشكورين مسبقآ
  6. </Mr.Tn6eL> كفو يالغالي ماقصرت يالذيب
  7. السلام عليكم اخي مابات اكثر من رائعة +انا عندي فكر مابات روعة يتفع اصمم وابرمج معكم المابات والله في بدماغي اماكن خيالية بسويهها وياريت ترد علي في رعاية الله
  8. ياريت تصلحوة لي لان المود يشتغل بس edit وكل ال label لا تظهر وابي اسوي زر يغلق النافذة وشكرا لكم local resX, resY = guiGetScreenSize() function makeAnimationGUI() animationWindow = guiCreateWindow(445, 87, 355, 513, "Animation System|V.2|By Mazzika", false) guiSetVisible(animationWindow,false) guiSetAlpha(animationWindow, 0.87) animationCategoryList = guiCreateGridList(10, 23, 158, 356,false,animationWindow) animationList = guiCreateGridList(187, 23, 158, 356,false,animationWindow) column1 = guiGridListAddColumn(animationCategoryList,"Category",0.8) column2 = guiGridListAddColumn(animationList,"Animation",0.8) stopButton = guiCreateButton(97, 405, 158, 38, "Stop Animation", false, animationWindow) guiSetFont(stopButton, "default-bold-small") guiSetProperty(stopButton, "NormalTextColour", "FF4DFF00") addEventHandler("onClientGUIClick",stopButton,function() setPedAnimation(getLocalPlayer(),nil,nil) end) for k, v in ipairs (getElementsByType("animationCategory")) do local row = guiGridListAddRow(animationCategoryList) guiGridListSetItemText(animationCategoryList,row,column1,getElementID(v),false,false) GUIEditor.edit[1] = guiCreateEdit(9, 474, 78, 29, "Version 1.2 !!", false, animationWindow) guiSetProperty(GUIEditor.edit[1], "NormalTextColour", "FF0013D5") guiEditSetReadOnly(GUIEditor.edit[1], true) GUIEditor.label[2] = guiCreateLabel(83, 449, 192, 15, "املأ لحظات الأنتظار بكثرة الأستغفارّّ", false, animationWindow) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 211, 184, 0) GUIEditor.label[3] = guiCreateLabel(143, 487, 202, 16, "سبحان اللهّ وبحمدة سبحان اللهّ العظيم", false, animationWindow) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 0, 203, 210) GUIEditor.label[4] = guiCreateLabel(97, 384, 158, 17, "نظام الحركات الأصدار الأول!!", false, animationWindow) guiSetFont(GUIEditor.label[4], "default-bold-small") guiLabelSetColor(GUIEditor.label[4], 238, 0, 253) end addEventHandler("onClientGUIClick",animationCategoryList,getAnimations) addEventHandler("onClientGUIClick",animationList,setAnimation) end addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),makeAnimationGUI) function toggleVisible() if (guiGetVisible(animationWindow) == false) then guiSetVisible(animationWindow,true) showCursor(true) else guiSetVisible(animationWindow,false) showCursor(false) end end bindKey("F2","down",toggleVisible) function getAnimations() selectedCategory = guiGridListGetItemText(animationCategoryList,guiGridListGetSelectedItem(animationCategoryList),1) if (selectedCategory ~= "") then guiGridListClear(animationList) for k, v in ipairs (getElementChildren(getElementByID(selectedCategory))) do local row = guiGridListAddRow(animationList) guiGridListSetItemText(animationList,row,column1,getElementID(v),false,false) end end if (selectedCategory == "") then guiGridListClear(animationList) end end function setAnimation() selectedAnimation = guiGridListGetItemText(animationList,guiGridListGetSelectedItem(animationList),1) if (selectedAnimation ~= "") then if (not isPlayerDead(getLocalPlayer())) then if (isPedInVehicle(getLocalPlayer()) == false) then local animationBlock = getElementData(getElementByID(selectedAnimation),"block") local animationID = getElementData(getElementByID(selectedAnimation),"code") triggerServerEvent("setAnimation",getLocalPlayer(),animationBlock,animationID) else outputChatBox("You cannot use animations while in a vehicle.",255,0,0) end else outputChatBox("You cannot use animations while you are dead.",255,0,0) end end end
  9. NssoR شكرا اخي نسور تمت الافادة والمود اشتغل بنجاح
  10. shwaeki مو فاهمك !! shwaeki سويتة ومانفع!!
  11. shwaeki هيك صح؟ addEventHandler ( "onPlayerJoin", root, function () setPlayerHudComponentVisible ( source, "money", false ) end )
  12. السلام عليكم ورحمة الله وبركاتة الحين جاي اطلب منكم كود او تسونة بمود او تفيدوني باي شئ الحين بسيرفرات التكتيك الفلوس تكون مخفية \ ابي اخليها ظاهرة تكفون ساعدوني
  13. Mr.CoR تسلم فهمت شرحك الوافي addEventHandler("onClientGUIClick",root, function () -- الوظيفه if ( source == زر اخفاء السكن ) then -- شرط setElementAlpha ( localPlayer , 0 ) elseif ( source == زر النطه العاليه ) then setWorldSpecialPropertyEnabled ( localPlayer , 0 )
  14. السلام عليكم انا مسوي شوب وابي اضيف بالشوب شراء شئيئن جديدين الاول زر لشراء سكين مخفي يعني يخليك مخفي وزر لشراء نطة عالية بس ابي احط يرتبلي المود معلش السكين المخفي= 10000$ النطة العالية =15000$ كمان دول اكوادهم النطة العالية = sWorldSpecialPropertyEnabled اختفاء السكين= setElementAlpha كمان ابي كود لما ادوس علي زر يجي كم معي فلوس وابي كود لما ادوس علي زر يغلق النافذة وشكرا لكم
  15. السلام عليكم ورحمة الله وبركاتة انا لسا اليوم مسوي شوب اسلحة يفتح بزر اف 7 بعد ما انتهيت لقيت الشوب لا يفتح ارجوا من الخبراء يحلو المشكلة ويشوفو الخطأ الكلنت GUIEditor = { button = {}, window = {}, staticimage = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(109, 38, 568, 512, "Wepson Shop | Arabs-Pro | V.1", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.72) GUIEditor.staticimage[1] = guiCreateStaticImage(10, 19, 548, 483, ":Weapson-ShopV1/images/1.png", false, GUIEditor.window[1]) GUIEditor.staticimage[2] = guiCreateStaticImage(10, 10, 91, 89, ":Weapson-ShopV1/images/16.png", false, GUIEditor.staticimage[1]) GUIEditor.button[1] = guiCreateButton(7, 109, 94, 45, "500000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFE10000") GUIEditor.staticimage[3] = guiCreateStaticImage(217, 10, 107, 89, ":Weapson-ShopV1/images/22.png", false, GUIEditor.staticimage[1]) GUIEditor.button[2] = guiCreateButton(217, 109, 107, 45, "3000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFE10000") GUIEditor.staticimage[4] = guiCreateStaticImage(435, 11, 93, 88, ":Weapson-ShopV1/images/23.png", false, GUIEditor.staticimage[1]) GUIEditor.button[3] = guiCreateButton(431, 109, 97, 45, "1000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFE10000") GUIEditor.staticimage[5] = guiCreateStaticImage(10, 170, 92, 88, ":Weapson-ShopV1/images/25.png", false, GUIEditor.staticimage[1]) GUIEditor.button[4] = guiCreateButton(8, 268, 94, 45, "25000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFE10000") GUIEditor.staticimage[6] = guiCreateStaticImage(212, 170, 102, 88, ":Weapson-ShopV1/images/26.png", false, GUIEditor.staticimage[1]) GUIEditor.button[5] = guiCreateButton(212, 268, 102, 45, "25000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[5], "default-bold-small") guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFE10000") GUIEditor.staticimage[7] = guiCreateStaticImage(425, 170, 102, 91, ":Weapson-ShopV1/images/28.png", false, GUIEditor.staticimage[1]) GUIEditor.button[6] = guiCreateButton(425, 268, 102, 45, "5000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[6], "default-bold-small") guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFE10000") GUIEditor.staticimage[8] = guiCreateStaticImage(8, 323, 93, 94, ":Weapson-ShopV1/images/29.png", false, GUIEditor.staticimage[1]) GUIEditor.button[7] = guiCreateButton(7, 428, 94, 45, "30000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[7], "default-bold-small") guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FFE10000") GUIEditor.staticimage[9] = guiCreateStaticImage(211, 329, 103, 93, ":Weapson-ShopV1/images/31.png", false, GUIEditor.staticimage[1]) GUIEditor.button[8] = guiCreateButton(211, 428, 102, 45, "40000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[8], "default-bold-small") guiSetProperty(GUIEditor.button[8], "NormalTextColour", "FFE10000") GUIEditor.staticimage[10] = guiCreateStaticImage(420, 331, 107, 91, ":Weapson-ShopV1/images/32.png", false, GUIEditor.staticimage[1]) GUIEditor.button[9] = guiCreateButton(420, 428, 107, 45, "3000$", false, GUIEditor.staticimage[1]) guiSetFont(GUIEditor.button[9], "default-bold-small") guiSetProperty(GUIEditor.button[9], "NormalTextColour", "FFE10000") end ) 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', root, function ( ) if ( source == GUIEditor.button[1] ) then triggerServerEvent('Grenade', localPlayer) elseif ( source == GUIEditor.button[2] ) then triggerServerEvent('Colt 45', localPlayer) elseif ( source == GUIEditor.button[3] ) triggerServerEvent('Silenced', localPlayer) elseif ( source == GUIEditor.button[4] ) triggerServerEvent('Combat SG', localPlayer) elseif ( source == GUIEditor.button[5] ) triggerServerEvent('Sawed-off', localPlayer) elseif ( source == GUIEditor.button[6] ) triggerServerEvent('Tec-9', localPlayer) elseif ( source == GUIEditor.button[7] ) triggerServerEvent('MP5', localPlayer) elseif ( source == GUIEditor.button[8] ) triggerServerEvent('M4', localPlayer) elseif ( source == GUIEditor.button[9] ) triggerServerEvent('Uzi', localPlayer) end end ) السيرفر ) addEvent('Grenade', true) addEventHandler('Grenade', root, function ( ) -- فتح وظيفة local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 50000) then-------للتحقق انو فلوس الاعب انو 200 او اكتر takePlayerMoney(source,50000) يسحب من الاعب 50000 giveWeapon( source, 16, 3 ) -- اعطاء سلاح رشاش ب200 طلق للاعب اللي ضغط الزر outputChatBox('تم شراء سلاح Grenade', source, 255, 0 ,0 ) --- رسالة عند اخذ سلاح else----- اذا ما كان مع الاعب 50000 يطلع له كلام في الشات outputChatBox("فلوسك لا تكفي", source, 255, 0, 0, true) end ) addEvent('Colt 45', true) --- الوظيفة Colt 45 addEventHandler('Colt 45', root, -- الوظيفة Colt 45 function ( ) -- فتح وظيفة local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 3000) then-------للتحقق انو فلوس الاعب انو 200 او اكتر takePlayerMoney(source,3000) يسحب من الاعب 2000 giveWeapon( source, 22, 99999 ) -- اعطاء سلاح رشاش ب200 طلق للاعب اللي ضغط الزر outputChatBox('تم شراء مسدس Colt 45', source, 255, 0 ,0 ) --- رسالة عند اخذ سلاح else----- اذا ما كان مع الاعب 2000 يطلع له كلام في الشات outputChatBox("فلوسك لا تكفي", source, 255, 0, 0, true) end ) addEvent('Silenced', true) --- الوظيفة sniper addEventHandler('Silenced', root, -- الوظيفة sniper function ( ) -- فتح وظيفة local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 1000) then-------للتحقق انو فلوس الاعب انو 200 او اكتر takePlayerMoney(source,1000) يسحب من الاعب 2000 giveWeapon( source, 23, 9999 ) -- اعطاء سلاح رشاش ب200 طلق للاعب اللي ضغط الزر outputChatBox('تم شراء مسدس Silenced', source, 255, 0 ,0 ) --- رسالة عند اخذ سلاح else----- اذا ما كان مع الاعب 2000 يطلع له كلام في الشات outputChatBox("فلوسك لا تكفي", source, 255, 0, 0, true) end ) addEvent('Combat Shotgun', true) --- الوظيفة Combat Shotgun addEventHandler('Combat Shotgun', root, -- الوظيفة Combat Shotgun function ( ) -- فتح وظيفة local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 25000) then-------للتحقق انو فلوس الاعب انو 200 او اكتر takePlayerMoney(source,25000) يسحب من الاعب 2000 giveWeapon( source, 27, 99999 ) -- اعطاء سلاح رشاش ب200 طلق للاعب اللي ضغط الزر outputChatBox('تم شراء Combat Shotgun', source, 255, 0 ,0 ) --- رسالة عند اخذ سلاح else----- اذا ما كان مع الاعب 2000 يطلع له كلام في الشات outputChatBox("فلوسك لا تكفي", source, 255, 0, 0, true) end ) addEvent('Sawed-off', true) --- الوظيفة uzi addEventHandler('Sawed-off', root, -- الوظيفة uzi function ( ) -- فتح وظيفة local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >=25000) then-------للتحقق انو فلوس الاعب انو 200 او اكتر takePlayerMoney(source,25000) يسحب من الاعب 2000 giveWeapon( source, 26, 9999 ) -- اعطاء سلاح رشاش ب200 طلق للاعب اللي ضغط الزر outputChatBox('تم شراء Sawed-off', source, 255, 0 ,0 ) --- رسالة عند اخذ سلاح else----- اذا ما كان مع الاعب 2000 يطلع له كلام في الشات outputChatBox("فلوسك لا تكفي", source, 255, 0, 0, true) end ) addEvent('Tec-9', true) --- الوظيفة m4 addEventHandler('Tec-9', root, -- الوظيفة m4 function ( ) -- فتح وظيفة local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 3000) يسحب من الاعب 2000 giveWeapon( source, 32, 9999 ) -- اعطاء سلاح رشاش ب200 طلق للاعب اللي ضغط الزر outputChatBox('تم شراء Tec-9', source, 255, 0 ,0 ) --- رسالة عند اخذ سلاح else----- اذا ما كان مع الاعب 2000 يطلع له كلام في الشات outputChatBox("فلوسك لا تكفي", source, 255, 0, 0, true) end ) addEvent('MP5', true) --- الوظيفة m4 addEventHandler('MP5', root, -- الوظيفة m4 function ( ) -- فتح وظيفة local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 30000) then-------للتحقق انو فلوس الاعب انو 200 او اكتر takePlayerMoney(source,30000) يسحب من الاعب 2000 giveWeapon( source, 27, 9999 ) -- اعطاء سلاح رشاش ب200 طلق للاعب اللي ضغط الزر outputChatBox('تم شراء MP5', source, 255, 0 ,0 ) --- رسالة عند اخذ سلاح else----- اذا ما كان مع الاعب 2000 يطلع له كلام في الشات outputChatBox("فلوسك لا تكفي", source, 255, 0, 0, true) end ) addEvent('M4', true) --- الوظيفة m4 addEventHandler('M4', root, -- الوظيفة m4 function ( ) -- فتح وظيفة local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 40000) then-------للتحقق انو فلوس الاعب انو 200 او اكتر takePlayerMoney(source,40000) يسحب من الاعب 2000 giveWeapon( source, 31, 9999 ) -- اعطاء سلاح رشاش ب200 طلق للاعب اللي ضغط الزر outputChatBox('تم شراء M4', source, 255, 0 ,0 ) --- رسالة عند اخذ سلاح else----- اذا ما كان مع الاعب 2000 يطلع له كلام في الشات outputChatBox("فلوسك لا تكفي", source, 255, 0, 0, true) end ) addEvent('Uzi', true) --- الوظيفة sniper addEventHandler('Uzi', root, -- الوظيفة sniper function ( ) -- فتح وظيفة local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 3000) then-------للتحقق انو فلوس الاعب انو 200 او اكتر takePlayerMoney(source,3000) يسحب من الاعب 2000 giveWeapon( source, 28, 9999 ) -- اعطاء سلاح رشاش ب200 طلق للاعب اللي ضغط الزر outputChatBox(تم شراء رشاش Uzi', source, 255, 0 ,0 ) --- رسالة عند اخذ سلاح else----- اذا ما كان مع الاعب 2000 يطلع له كلام في الشات outputChatBox("فلوسك لا تكفي", source, 255, 0, 0, true) end ) الميتا <meta> <info author="mazzika" version="V1" type="script" /> <script src="s_m.lua" type="server" /> <script src="c_m.lua" type="client" /> <file src="images/1.png"/> <file src="images/16.png"/> <file src="images/22.png"/> <file src="images/23.png"/> <file src="images/25.png"/> <file src="images/26.png"/> <file src="images/28.png"/> <file src="images/29.png"/> <file src="images/31.png"/> <file src="images/32.png"/> </meta>
×
×
  • Create New...