Jump to content

#|_oskar_|#

Members
  • Posts

    897
  • Joined

  • Last visited

Everything posted by #|_oskar_|#

  1. افتح ملف كلنت وابحث عن الكود ذا وامسحه showPlayerHudComponent
  2. dxDrawTextOnElement(randomPed,"بسم الله",1,20,0,0,255,255,1,dxCreateFont("اسم الفونت.ttf",20 ))
  3. ذا اللى تقصده ؟ كلنت local screenW, screenH = guiGetScreenSize() window = guiCreateWindow((screenW - 174) / 2, (screenH - 80) / 2, 174, 80, "", false) guiWindowSetSizable(window, false) guiSetAlpha(window, 1.00) button = guiCreateButton(9, 26, 155, 44, "AFK", false, window) addEventHandler("onClientGUIClick",root, function() if (source == button )then triggerServerEvent("afk",localPlayer) end end) سيرفر addEvent("afk",true) addEventHandler("afk",root,function () afk = not afk setPedAnimation (source,'BEACH', 'ParkSit_M_loop') setElementFrozen (source, true ) if afk == false then setPedAnimation (source, nil) setElementFrozen (source, false ) end end)
  4. انت مسوي الانتقالات Xml ولا جدول ؟
  5. سوي اللى تعرف تسويه واطرح محاولتك
  6. اسماء الحركات اختار منهم الحركه اللى تعجبك Animations
  7. اسم الزرر متشابهين نفس بعضهم
  8. addEventHandler('onClientGUIClick',root, function() if (source == اسم الزر )then -- الكود end end)
  9. مثال بسيط ان شاء الله بيفيدك addCommandHandler( 'نوم',function () setPedAnimation ( localPlayer ,'CRACK', 'crckidle2') end) addCommandHandler( 'صاحي',function () setPedAnimation(localPlayer , nil) end)
  10. هريسه كودك + وش تبي تسوي ؟
  11. عندي ملاحظة بسيطه علي كودك سطر 5 ماله داعي تقدر تسوي كذا تسلم ع المعلومه تم اضافته وشكرا لك
  12. سويته لك بظريقه اسهل ومفهومه local wtimers ={} function GiveWeaponInTimer(min,sic,elem,id,ammo,text,r,g,b) wtimers[elem] = setTimer ( function(elem) giveWeapon(elem,id,ammo,true) outputChatBox(text,elem,r,g,b,true) end, min,sic,elem) end ------ addCommandHandler( "g",function(player) GiveWeaponInTimer(1000,1,player,38,500,"#00FF00Minigun",255,0,0) GiveWeaponInTimer(2000,1,player,34,1000,"#FFFFA1Sniper",255,0,0) GiveWeaponInTimer(3000,1,player,4,1,"#FF0000Knife",255,0,0) end)
  13. تبي تسوي بعد مده محده يعطيه سلاح ؟
  14. بدله باللى عندك triggerServerEvent("onre",getLocalPlayer(),userr,passr,passre)
  15. خلي الصور كذا GUIEditor.staticimage[1] = guiCreateStaticImage(13, 38, 78, 75, "images/a.png", false, GUIEditor.window[1])
  16. جربتها واشتغل عادي متأكد انه شغال ؟ لاني شايف = زياده
  17. العفو مافي تعب ولا شئ عدلت شئ بسيط انسخ الكود مره ثانيه
  18. Edit supportsystem = guiCreateWindow(55, 43, 693, 459, "[GTA-iV]-Support System", false) guiWindowSetSizable(supportsystem, false) guiSetAlpha(supportsystem, 1.00) guiSetVisible(supportsystem,false) supportchat = guiCreateGridList(10, 41, 479, 317, false, supportsystem) guiGridListAddColumn(supportchat, "Player", 0.5) guiGridListAddColumn(supportchat, "Message", 0.5) progressbar1 = guiCreateProgressBar(499, 22, 15, 427, false, supportsystem) label = guiCreateLabel(20, 22, 213, 15, "Support Chat :", false, supportsystem) supportonline = guiCreateGridList(514, 66, 168, 344, false, supportsystem) guiGridListAddColumn(supportonline, "PlayerName", 0.9) label2 = guiCreateLabel(522, 31, 99, 20, "Support Online :", false, supportsystem) checkbox1 = guiCreateCheckBox(394, 368, 90, 18, "show in chat", false, false, supportsystem) edit1 = guiCreateEdit(9, 399, 380, 36, "", false, supportsystem) button1 = guiCreateButton(394, 401, 90, 34, "Send", false, supportsystem) button2 = guiCreateButton(557, 415, 90, 34, "القوانين", false, supportsystem) ruless = guiCreateWindow(183, 45, 453, 461, "قوانين السبورت|Support Rules", false) guiWindowSetSizable(ruless, false) guiSetAlpha(ruless, 1.00) guiSetVisible(ruless,false) memo = guiCreateMemo(10, 23, 433, 379, "English : \n\n1-dont ask Admin\n\n2-dont ask Money\n\n3-dont bad talk\n\n\"This Chat For Help\"\n\n---------------------------------------\n\n: العربية\n\n\nعدم طلب ادمن-1\n\nعدم طلب فلوس-2\n\nعدم السب-3\n\n\n\"هذا الشات للمساعدة فقط\"", false, ruless) guiMemoSetReadOnly(memo, true) closeb = guiCreateButton(150, 412, 118, 38, "Close", false, ruless) function re() guiGridListClear(supportonline) triggerServerEvent("refresh",localPlayer) end addEventHandler("onClientGUIClick",root, function() if (source == button2) then guiBringToFront (ruless) guiSetVisible(ruless, not guiGetVisible(ruless) ) end end) addEventHandler("onClientGUIClick",root, function() if (source == closeb)then guiSetVisible(ruless,false) end end) bindKey("F5","down", function() guiSetVisible(supportsystem, not guiGetVisible(supportsystem) ) showCursor(guiGetVisible(supportsystem)) guiSetVisible(ruless,false) re() end) addEvent("online",true) addEventHandler("online", root, function (name) local g = guiGridListAddRow(supportonline) guiGridListSetItemText(supportonline,g, 1,""..name.."", false, false) end) addEventHandler("onClientGUIClick",button1,function () if guiGetText(edit1) ~= '' then triggerServerEvent("support",localPlayer,guiGetText(edit1)) end end, false) addEvent("sendmessage",true) addEventHandler("sendmessage",root, function() local gg = guiGridListAddRow(supportchat) guiGridListSetItemText(supportchat,gg, 1,getPlayerName(localPlayer), false, false) guiGridListSetItemText(supportchat,gg, 2,guiGetText(edit1), false, false) guiGridListSetItemColor(supportchat,gg, 1, 255, 0, 0, 255) guiGridListSetItemColor(supportchat,gg, 2, 35, 254, 0, 255) if ( guiCheckBoxGetSelected( checkbox1 ) == true ) then outputChatBox("[support-System] #FF0000"..getPlayerName(localPlayer).."#FFFFFF : #00FF00"..guiGetText(edit1),255,255,0,true) end end) addEvent("sendmessage2",true) addEventHandler("sendmessage2",root, function() local gg = guiGridListAddRow(supportchat) guiGridListSetItemText(supportchat,gg, 1,getPlayerName(localPlayer), false, false) guiGridListSetItemText(supportchat,gg, 2,guiGetText(edit1), false, false) guiGridListSetItemColor(supportchat,gg, 1, 255, 0, 0, 255) guiGridListSetItemColor(supportchat,gg, 2, 35, 254, 0, 255) if ( guiCheckBoxGetSelected( checkbox1 ) == true ) then outputChatBox("[support-System] #FF0000"..getPlayerName(localPlayer).."#FFFFFF : #00FF00"..guiGetText(edit1),255,255,0,true) end end)
  19. لو البيد بجانب سيرفر تسوي كذا -- Client addEventHandler ( "onClientPedDamage",getElementData(root, "Name"),function() cancelEvent() end) -- Server ped = createPed ( 270,214,1919,17) ped2 = createPed ( 270,210,1918,17) setElementFrozen ( ped, true ) setElementData(root, "Name", ped,true)
  20. جطه بملف كلنت وبس addEventHandler ( "onClientPedDamage",root,function() cancelEvent() end)
  21. حط اسم البيد كذا Ped_Name = createPed (120,x,y,z) setElementFrozen ( Ped_Name, true )
×
×
  • Create New...