Jump to content

#DRAGON!FIRE

Members
  • Posts

    4,429
  • Joined

  • Last visited

Everything posted by #DRAGON!FIRE

  1. --[[------------------------------------------------- Created By Mr.R Skype : Httttt7_Ksa --]]------------------------------------------------- GUIEditor = { label = {}, staticimage = {} } WarpTaple = { -- تيبل للانتقالات { "الدائــــــــــري -1", "d.png", 1815.40515, 870.14069, 10.53743 }, { "النــــخــــيــــل -2", "n.png", 2077.17993, 868.93744, 6.86413 }, { "الــــــغــــــروب -3", "g.png", 674.92969, 1931.07874, 5.53906 }, } addEventHandler( "onClientResourceStart", resourceRoot, function ( ) outputChatBox ( "=[ Panel Places By Mr.R ]=", 255, 0, 0, true ) -- اخراج نص في الشات outputChatBox ( "=[ Press 'F3' To Open It ]=", 255, 0, 0, true ) -- اخراج نص في الشات wnd = guiCreateWindow(181, 109, 426, 360, "=[ Panel Places v1.0 By Mr.R ]=", false) guiSetVisible (wnd, false ) guiWindowSetSizable(wnd, false) GridList = guiCreateGridList(9, 22, 202, 328, false, wnd) guiGridListAddColumn(GridList, "Places ...", 0.9) for _,v in ipairs ( WarpTaple ) do local row = guiGridListAddRow ( GridList ) guiGridListSetItemText ( GridList, row, 1, v[1], false, false ) guiGridListSetItemData ( GridList, row, 1, { v[3], v[4], v[5] } ) end Button1 = guiCreateButton(250, 247, 134, 39, "=[ Warp ]=", false, wnd) Button2 = guiCreateButton(250, 296, 134, 39, "=[ X ]=", false, wnd) setElementData(Button1, "tooltip-text", "انتقال", false) setElementData(Button2, "tooltip-text", "اغلاق", false) GUIEditor.staticimage[1] = guiCreateStaticImage(221, 28, 178, 155, "MTA.png", false, wnd) GUIEditor.label[1] = guiCreateLabel(264, 188, 24, 28, "*", false, wnd) guiSetFont(GUIEditor.label[1], "sa-gothic") guiLabelSetColor(GUIEditor.label[1], 245, 7, 46) GUIEditor.label[2] = guiCreateLabel(343, 209, 24, 28, "*", false, wnd) guiSetFont(GUIEditor.label[2], "sa-gothic") guiLabelSetColor(GUIEditor.label[2], 191, 25, 226) end ) bindKey ( "F3", "down", function ( )-- وظيفة قفل+فتح النافذه if ( isTimer ( timerColor ) ) then killTimer ( timerColor ) end timerColor = setTimer ( function ( ) local RandomColor = string.format( "%.2X%.2X%.2X%.2X", 255, math.random( 255 ), math.random( 255 ), math.random( 255 ) ) guiSetProperty ( Button1, "NormalTextColour", RandomColor ) guiSetProperty ( Button2, "NormalTextColour", RandomColor ) guiSetProperty ( wnd, "CaptionColour", RandomColor ) end, 300, 0 ) guiSetVisible ( wnd, not guiGetVisible ( wnd ) ) showCursor ( guiGetVisible ( wnd ) ) end ) addEventHandler("onClientGUIClick", resourceRoot, function ( ) if ( source == GridList ) then if ( guiGridListGetSelectedItem ( source ) ~= -1 ) then local fName = guiGridListGetItemText ( GridList, guiGridListGetSelectedItem ( GridList ), 1 ) for _,v in ipairs ( WarpTaple ) do if ( v[1] == fName ) then if ( v[2] ~= "" or v[2] ~= " " ) then guiStaticImageLoadImage ( GUIEditor.staticimage[1], tostring ( v[2] ) ) end end end else guiStaticImageLoadImage ( GUIEditor.staticimage[1], "MTA.png" ) end elseif ( source == Button1 ) then if ( guiGridListGetSelectedItem ( GridList ) ~= -1 ) then if ( isTimer ( Timer ) ) then return end if ( getPedOccupiedVehicle ( localPlayer ) ) then return outputChatBox ( "الرجاء النزول من السيارة اولأ *", 255, 0, 0, true ) end Timer = setTimer ( function ( ) end, 4000, 1 ) setElementPosition ( localPlayer, unpack ( guiGridListGetItemData ( GridList, guiGridListGetSelectedItem ( GridList ), 1 ) ) ) outputChatBox ( " تــم الإنــتقــال إلــى".. string.sub( guiGridListGetItemText ( GridList, guiGridListGetSelectedItem ( GridList ), 1 ), 3 ) .."", 255, 255, 0, true ) else outputChatBox ( "الرجــاء اخـتـيـار مـكـاناً للإنـتقـال إلـيه !", 255, 0, 0, true ) end elseif ( source == Button2 ) then guiSetVisible ( wnd, false ) showCursor ( false ) end end )
  2. RGB اها توني انتبه .. بالفنكشن حق اللون مستخدم 3 ارقمنات وهو ارقمنت اللون واحد وارقمنت اللون ليس لاكن اللي بصناعة النافذة صحيح .. لاكن وش تقصد انت ؟ تقصد تبيه زي الفلأش ؟ --[[------------------------------------------------- Created By Mr.R Skype : Httttt7_Ksa --]]------------------------------------------------- GUIEditor = { label = {}, staticimage = {} } WarpTaple = { -- تيبل للانتقالات { "الدائــــــــــري -1", "d.png", 1815.40515, 870.14069, 10.53743 }, { "النــــخــــيــــل -2", "n.png", 2077.17993, 868.93744, 6.86413 }, { "الــــــغــــــروب -3", "g.png", 674.92969, 1931.07874, 5.53906 }, } addEventHandler( "onClientResourceStart", resourceRoot, function ( ) outputChatBox ( "=[ Panel Places By Mr.R ]=", 255, 0, 0, true ) -- اخراج نص في الشات outputChatBox ( "=[ Press 'F3' To Open It ]=", 255, 0, 0, true ) -- اخراج نص في الشات wnd = guiCreateWindow(181, 109, 426, 360, "=[ Panel Places v1.0 By Mr.R ]=", false) guiSetVisible (wnd, false ) guiWindowSetSizable(wnd, false) GridList = guiCreateGridList(9, 22, 202, 328, false, wnd) guiGridListAddColumn(GridList, "Places ...", 0.9) for _,v in ipairs ( WarpTaple ) do local row = guiGridListAddRow ( GridList ) guiGridListSetItemText ( GridList, row, 1, v[1], false, false ) guiGridListSetItemData ( GridList, row, 1, { v[3], v[4], v[5] } ) end Button1 = guiCreateButton(250, 247, 134, 39, "=[ Warp ]=", false, wnd) Button2 = guiCreateButton(250, 296, 134, 39, "=[ X ]=", false, wnd) setElementData(Button1, "tooltip-text", "انتقال", false) setElementData(Button2, "tooltip-text", "اغلاق", false) guiSetProperty(Button1, "NormalTextColour", "FFAAAAAA") guiSetProperty(Button2, "NormalTextColour", "FFAAAAAA") GUIEditor.staticimage[1] = guiCreateStaticImage(221, 28, 178, 155, "MTA.png", false, wnd) GUIEditor.label[1] = guiCreateLabel(264, 188, 24, 28, "*", false, wnd) guiSetFont(GUIEditor.label[1], "sa-gothic") guiLabelSetColor(GUIEditor.label[1], 245, 7, 46) GUIEditor.label[2] = guiCreateLabel(343, 209, 24, 28, "*", false, wnd) guiSetFont(GUIEditor.label[2], "sa-gothic") guiLabelSetColor(GUIEditor.label[2], 191, 25, 226) end ) bindKey ( "F3", "down", function ( )-- وظيفة قفل+فتح النافذه guiSetVisible ( wnd, not guiGetVisible ( wnd ) ) showCursor ( guiGetVisible ( wnd ) ) end ) addEventHandler("onClientGUIClick", resourceRoot, function ( ) if ( source == GridList ) then if ( guiGridListGetSelectedItem ( source ) ~= -1 ) then local fName = guiGridListGetItemText ( GridList, guiGridListGetSelectedItem ( GridList ), 1 ) for _,v in ipairs ( WarpTaple ) do if ( v[1] == fName ) then if ( v[2] ~= "" or v[2] ~= " " ) then guiStaticImageLoadImage ( GUIEditor.staticimage[1], tostring ( v[2] ) ) end end end else guiStaticImageLoadImage ( GUIEditor.staticimage[1], "MTA.png" ) end elseif ( source == Button1 ) then if ( guiGridListGetSelectedItem ( GridList ) ~= -1 ) then if ( isTimer ( Timer ) ) then return end if ( getPedOccupiedVehicle ( localPlayer ) ) then return outputChatBox ( "الرجاء النزول من السيارة اولأ *", 255, 0, 0, true ) end Timer = setTimer ( function ( ) end, 4000, 1 ) setElementPosition ( localPlayer, unpack ( guiGridListGetItemData ( GridList, guiGridListGetSelectedItem ( GridList ), 1 ) ) ) outputChatBox ( " تــم الإنــتقــال إلــى".. string.sub( guiGridListGetItemText ( GridList, guiGridListGetSelectedItem ( GridList ), 1 ), 3 ) .."", 255, 255, 0, true ) else outputChatBox ( "الرجــاء اخـتـيـار مـكـاناً للإنـتقـال إلـيه !", 255, 0, 0, true ) end elseif ( source == Button2 ) then guiSetVisible ( wnd, false ) showCursor ( false ) end end )
  3. حبيبي هنا قسم مساعدة .. مو عشان ساعدكـ تنطيل تجي تسوي موضوع وتفك سالفة حياتك عشان تقول ساعدني تنطيل .. !!
  4. --[[------------------------------------------------- Created By Mr.R Skype : Httttt7_Ksa --]]------------------------------------------------- GUIEditor = { label = {}, staticimage = {} } WarpTaple = { -- تيبل للانتقالات { "الدائــــــــــري -1", "d.png", 1815.40515, 870.14069, 10.53743 }, { "النــــخــــيــــل -2", "n.png", 2077.17993, 868.93744, 6.86413 }, { "الــــــغــــــروب -3", "g.png", 674.92969, 1931.07874, 5.53906 }, } addEventHandler( "onClientResourceStart", resourceRoot, function ( ) outputChatBox ( "=[ Panel Places By Mr.R ]=", 255, 0, 0, true ) -- اخراج نص في الشات outputChatBox ( "=[ Press 'F3' To Open It ]=", 255, 0, 0, true ) -- اخراج نص في الشات wnd = guiCreateWindow(181, 109, 426, 360, "=[ Panel Places v1.0 By Mr.R ]=", false) guiSetVisible (wnd, false ) guiWindowSetSizable(wnd, false) GridList = guiCreateGridList(9, 22, 202, 328, false, wnd) guiGridListAddColumn(GridList, "Places ...", 0.9) for _,v in ipairs ( WarpTaple ) do local row = guiGridListAddRow ( GridList ) guiGridListSetItemText ( GridList, row, 1, v[1], false, false ) guiGridListSetItemData ( GridList, row, 1, { v[3], v[4], v[5] } ) end Button1 = guiCreateButton(250, 247, 134, 39, "=[ Warp ]=", false, wnd) guiSetProperty(Button1, "NormalTextColour", "FFAAAAAA") Button2 = guiCreateButton(250, 296, 134, 39, "=[ X ]=", false, wnd) setElementData(Button1, "tooltip-text", "انتقال", false) setElementData(Button2, "tooltip-text", "اغلاق", false) guiSetProperty(Button2, "NormalTextColour", "FFAAAAAA") GUIEditor.staticimage[1] = guiCreateStaticImage(221, 28, 178, 155, "MTA.png", false, wnd) GUIEditor.label[1] = guiCreateLabel(264, 188, 24, 28, "*", false, wnd) guiSetFont(GUIEditor.label[1], "sa-gothic") guiLabelSetColor(GUIEditor.label[1], 245, 7, 46) GUIEditor.label[2] = guiCreateLabel(343, 209, 24, 28, "*", false, wnd) guiSetFont(GUIEditor.label[2], "sa-gothic") guiLabelSetColor(GUIEditor.label[2], 191, 25, 226) lon ( ) end ) bindKey ( "F3", "down", function ( )-- وظيفة قفل+فتح النافذه guiSetVisible ( wnd, not guiGetVisible ( wnd ) ) showCursor ( guiGetVisible ( wnd ) ) end ) addEventHandler("onClientGUIClick", resourceRoot, function ( ) if ( source == GridList ) then if ( guiGridListGetSelectedItem ( source ) ~= -1 ) then local fName = guiGridListGetItemText ( GridList, guiGridListGetSelectedItem ( GridList ), 1 ) for _,v in ipairs ( WarpTaple ) do if ( v[1] == fName ) then if ( v[2] ~= "" or v[2] ~= " " ) then guiStaticImageLoadImage ( GUIEditor.staticimage[1], tostring ( v[2] ) ) end end end else guiStaticImageLoadImage ( GUIEditor.staticimage[1], "MTA.png" ) end elseif ( source == Button1 ) then if ( guiGridListGetSelectedItem ( GridList ) ~= -1 ) then if ( isTimer ( Timer ) ) then return end Timer = setTimer ( function ( ) end, 4000, 1 ) setElementPosition ( localPlayer, unpack ( guiGridListGetItemData ( GridList, guiGridListGetSelectedItem ( GridList ), 1 ) ) ) outputChatBox ( " تــم الإنــتقــال إلــى".. string.sub( guiGridListGetItemText ( GridList, guiGridListGetSelectedItem ( GridList ), 1 ), 3 ) .."", 255, 255, 0, true ) else outputChatBox ( "الرجــاء اخـتـيـار مـكـاناً للإنـتقـال إلـيه !", 255, 0, 0, true ) end elseif ( source == Button2 ) then guiSetVisible ( wnd, false ) showCursor ( false ) end end ) function lon ( ) guiSetProperty(wnd, "CaptionColour", math.random(255), math.random(255), math.random(255)) guiSetProperty(Button1, "NormalTextColour", math.random(255), math.random(255), math.random(255)) guiSetProperty(Button2, "NormalTextColour", math.random(255), math.random(255), math.random(255)) end
  5. What nounsense are you talking? getPlayerMoney is not fake. bro u don't understand me i mean if u use getPlayerMoney in Client Side .. the function don't give u the correct number Note: The amount may vary between the server and client, you shouldn't trust the client side value to always be accurate.
  6. bro if u use getPlayerMoney in Client Side it's Fake .. use it in Server Side or if u need get Money in Client .. setElementData with player Money in Server side .. and get the data in Client Side
  7. كود ابو شنب مرتب اكثر وافضل له لو يبي يضيف شي يضيفه بكل سهولة للتيبل وانتهينا .. ليه انت مصعب الامور يسوي التيبل وخلاص .
  8. كيمو ~= هيمو but كيمو + هيمو = Friends and From Gta-Pro Developers team قصده كيمو وهيمو سم سم بيرسون واحد لحست الرجال ي كيمو <@> وموفق مره ثانيه ي زاحف . معليش لاكن انلحست شوية كيمو وهيمو وكذا .. اممين وياك .
  9. addCommandHandler( "show", function ( player ) setPlayerNametagShowing ( player, not isPlayerNametagShowing ( player ) ) end )
  10. ولله صراحة الفكرة بنحاول نسويها لانها مهمة لانه للحين ما ندري كيف ولا وش فكرتها وما طبقناها فـ بنشوف ونقولكم ممنور هيمو بالنسبة للخادم الضعيف ما عليكـ .. الخادم قوي والقيم مود اوردي خفيف جدا حتى تحميله بالصور والاشياء ذي مسوين لودر يحملك التكسد والصور بوقت اقل وبالنسبة للفديو فـ هو قديم جدا وقبل شهور الان اختلفت الاشياء تماما هذا كان ك تجربة او ع السريع اي احد عندهـ اقتراحح - فكرة - راي يتفضل ..
  11. هو كلامكـ شبه صحيح لاكن المشكلة وين ؟ انه الماب كبير والاوبجكتات فوق الـ 4000 اوبجكت وفي عندكـ اوبجكتات مثلا من اليومين ولا اليسار وفي بعض المابات يجلس يطيرك ولا وارب يعني اعتقد صعبة جدا ..
  12. u sure ? u try login and any errors in debug
  13. function IsLoged ( ) setCameraTarget ( source, source ) end addEventHandler( "onPlayerLogin", root, IsLoged )
  14. The errors in line ? and .. : function checkMuteOnLogin(_,account) local mutedTime = getAccountData(account, "mt") or 0 if (tonumber(mutedTime > 1)) then setPlayerMuted(source, true) decreaseMutedTime(source, mutedTime) end end addEventHandler("onPlayerLogin", root, checkMuteOnLogin) and edit "onPlayerLogout" like this in Parameter
  15. هي فكرة لاكن المشكلة الاكبر ان الماب ليس له حدود لانه بارتات يمين بارتات يسار ممكن فوق وممكن بارتات يسوي لك وارب يعني الفكرة شبه مستحيلة .
  16. https://forum.multitheftauto.com/viewtopic.php?f=160&t=80611
  17. لا اماراتي هو يقصد خارج الماب
×
×
  • Create New...