Jump to content

' A F .

Members
  • Posts

    2,156
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by ' A F .

  1. آلععَفو , حححَيآإكك آلله <3
  2. قلتلك الغلط من عندك ! !
  3. جرب مأني متأكد local teamName = "team name" addEventHandler( "onPlayerWasted", root, function ( _,killer ) if ( killer and killer ~= source and getElementType ( killer ) == "player" ) then if ( getPlayerTeam ( killer ) and getPlayerTeam ( killer ) == getTeamFromName ( teamName ) and getPlayerTeam ( source ) and getPlayerTeam ( source ) == getTeamFromName ( teamName ) ) then givePlayerMoney ( killer, 1000 ) setPlayerTeam ( source , nil ) end end end ) Timer = setTimer ( function ( ) for i,v in ipairs ( getPlayersInTeam(teamName) ) do if ( #getPlayersInTeam ( teamName ) <= 1 ) then givePlayerMoney ( v , 50000 ) killTimer ( Timer ) end end end,5000,0)
  4. الغلط من عندك + جربته شغال !
  5. تفضضل GUIEditor = { button = {}, window = {}, staticimage = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(287, 66, 617, 637, "لــــــــــــوحـــــــــة آلــــــتــــــحـــــــــكــــــــــم", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FE12D1B8") GUIEditor.button[1] = guiCreateButton(12, 26, 213, 73, "اليزر", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FEEF0000") GUIEditor.button[2] = guiCreateButton(375, 26, 213, 73, "القوانين", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FE19CBB0") GUIEditor.button[3] = guiCreateButton(12, 139, 213, 73, "لوحة التحكم ب السياره", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FE17FD0B") GUIEditor.button[4] = guiCreateButton(12, 245, 213, 73, "لوحة حفظ الشخصيه", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FE0023F9") GUIEditor.button[5] = guiCreateButton(375, 139, 213, 73, "توب درفت", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[5], "default-bold-small") guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FEDE04C2") GUIEditor.button[6] = guiCreateButton(375, 245, 213, 73, "لوحة حفظ المكان", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FEEF072D") GUIEditor.button[7] = guiCreateButton(12, 350, 213, 73, "الشكآويء", false, GUIEditor.window[1]) GUIEditor.button[8] = guiCreateButton(375, 350, 213, 73, "آلتــــرقــــيـات", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(56, 576, 345, 44, "^_^", false, GUIEditor.window[1]) local font0_PetitFormalScript = 'default-bold-small' guiSetFont(GUIEditor.label[1], font0_PetitFormalScript) guiLabelSetHorizontalAlign(GUIEditor.label[1], "right", false) guiLabelSetVerticalAlign(GUIEditor.label[1], "center") end ) bindKey("F9","down", function () guiSetVisible(GUIEditor.window[1], not guiGetVisible (GUIEditor.window[1])) showCursor(guiGetVisible(GUIEditor.window[1])) end ) addEventHandler("onClientGUIClick",root, function() if source == GUIEditor.button[11] then -- هنا يتحققق بأن الشيء اللي نبيه يشتغل عليه الحدث هو الزر حق الاغلاق guiSetVisible(GUIEditor.window[1],false) showCursor(false) -- هنا يغلق اللوحة ويشيل المؤشر بعد مايتحقق من الشرط end -- نهاية end -- .. ) -- اقفال الحدث addEventHandler('onClientGUIClick',root, function() if source == GUIEditor.button[1] then showCursor ( false ) executeCommandHandler ( "LASER" ) guiSetVisible (GUIEditor.window[1] ,false) end end ) addEventHandler('onClientGUIClick',root, function() if source == GUIEditor.button[8] then showCursor ( false ) executeCommandHandler ( "رتب" ) guiSetVisible (GUIEditor.window[1] ,false) end end ) addEventHandler('onClientGUIClick',root, function() if source == GUIEditor.button[4] then showCursor ( false ) executeCommandHandler ( "cj" ) guiSetVisible (GUIEditor.window[1] ,false) end end ) addEventHandler('onClientGUIClick',root, function() if source == GUIEditor.button[3] then showCursor (false) executeCommandHandler ( "car" ) guiSetVisible (GUIEditor.window[1] ,false) end end ) addEventHandler('onClientGUIClick',root, function() if source == GUIEditor.button[6] then showCursor (false) executeCommandHandler ( "place" ) guiSetVisible (GUIEditor.window[1] ,false) end end ) addEventHandler('onClientGUIClick',root, function() if source == GUIEditor.button[5] then showCursor (false) executeCommandHandler ( "drift" ) guiSetVisible (GUIEditor.window[1] ,false) end end ) addEventHandler('onClientGUIClick',root, function() if source == GUIEditor.button[2] then showCursor (false) executeCommandHandler ( "القوانين" ) guiSetVisible (GUIEditor.window[1] ,false) end end ) addEventHandler('onClientGUIClick',root, function() if source == GUIEditor.button[9] then showCursor (false) executeCommandHandler ( "شيلات" ) guiSetVisible (GUIEditor.window[1] ,false) end end )
  6. آطرححَ الميتآ ~ !
  7. عشان تطلعه من التيم setPlayerTeam -- nil عشان تسوي تحقق كم فيه التيم countPlayersInTeam
  8. ههههههههههههههههههههههههههه
  9. خلي يوم الاعب يموت يطلعه من التيم + سو تايمر كل 5 ثواني اذا التيم مافيه غير 1 يطلعه من التيم ويعطيه فلوس
  10. تأكد ان الملف Client + صور الدي بوق
  11. إنتَ بـَ شنؤ مسستخَدم المهمة , الجدآول او التيمات
  12. آفضضلَ لكَ تسسؤي بـ الجدآولَ + سسَيرفر سسَآيد
  13. setTimer ( function ( ) for k,v in ipairs (getElementsByType("player")) do if ( getElementInterior ( v ) == 15 ) then setElementPosition(v,2202.63672,1846.10718,10.82031) outputChatBox("The Mission End|المهمة انتهت",v,250,255,0) end end end,600000,1)
  14. طيب getPlayerMoney يعطيه فلوس :@ getPlayerMoney عشان تحقق من فلوسه اذا كانت مثلأ 500 تنقله :@ مأفيه مخ كويس
  15. guiGridListGetSelectedItem guiGridListGetItemText guiGridListGetItemData triggerServerEvent getPlayerMoney takePlayerMoney setElementPosition
  16. ألسلامَ عليكم ورحمة الله وبركاته .. بسم الله الرحمن الرحيم .. Name : getPlayersInZone Author : xiProGamer Or Default بـ اختصار الوظيفة هاذي تجيب الاعبين الي بالمنطقة الي انت تحددها Source Code : function getPlayersInZone ( Zone ) assert ( type ( Zone ) == 'string' , '@ Bad Argument ' ) local Table = { } for k,plrs in ipairs ( getElementsByType('player') ) do local pos = { getElementPosition ( plrs ) } if ( getZoneName ( pos[1] , pos[2] , pos[3] , true ) == Zone ) then table.insert (Table,plrs) end end return Table end Required Arguments : Zone : Zone Name | اسم المنطقة Example : addCommandHandler('Get', function (plr) for i,v in ipairs ( getPlayersInZone ('Las Venturas') ) do outputChatBox('Players : '..getPlayerName(v),plr,0,255,0,true) end end ) End
  17. المود ذا مايحتاج 30$ صراحةً بعدين لو واحد مايبي ينضم ويضم الاعبين كلهم يسمى تـخـريـب
  18. انا قلتلك من ناحيتي تنطيل هو الي يبدع ب موداته اكثر شيء ,
×
×
  • Create New...