Jump to content

Search the Community

Showing results for tags 'تصحيح خطأ لمود لي مطلوب خبير برمجة'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 1 result

  1. السلام عليكم ورحمة الله وبركاتة انا لسا اليوم مسوي شوب اسلحة يفتح بزر اف 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...