Jump to content

hassan.k.s.a

Members
  • Posts

    868
  • Joined

  • Last visited

Everything posted by hassan.k.s.a

  1. function Wasted(player) local team = getTeamFromName("Policia") local pteam = getPlayerTeam(player) if ( pteam == team ) then spawnPlayer (player, 2495.3654785156,-1687.6867675781,13.517179548035, 0,0,0,0,team) end end addEventHandler("onPlayerWasted", root, function() setTimer(Wasted, 1000, 1, source) end )
  2. Did you mean this? function openMyGate () moveObject (myGate, 500, -781.20001220703, 2624.8000488281, 104.09999847412, 0, 0, 0) sound = playSound ("sounds/opengate.mp3") setSoundVolume (sound, 0.5) end addCommandHandler ("opengate", openMyGate)
  3. ماعرف اخليه لما ينتهي الماب لاكن اعرف اخليه لما يموت يتغير التيم حقه ^.^
  4. addEventHandler("onPlayerWasted", root, function Wasted()--Create function local team1 = getTeamFromName( "TeamName" ) --Add Team Name local team2 = getTeamFromName( "TeamName" ) --Add Team Name local pteam = getPlayerTeam( source ) if ( pteam == team1 ) then spawnPlayer ( source, x, y, z, 0, 0, 0, 0,team1 ) --Add Position x,y,z fadeCamera( source, true ) setCameraTarget( source ,source ) elseif ( pteam == team2 ) then spawnPlayer ( source, x, y, z, 0, 0, 0, 0,team2 ) --Add Position x,y,z fadeCamera( source, true ) setCameraTarget( source, source ) -- [b]خطآ[/b] end--close the 'if' end)--close the function مشكور ع التصحيح خطأ آملآئي ^.^ وبنسبه لـ end--if end--function كاتبها سريع ولتوضيح بس وواضحه هي لأنه ال end--if لـ والثانيه end-- function لـ لأنه مايعرف اأنجليزي ^.^
  5. addEventHandler("onPlayerWasted", root, function Wasted()--Create function local team1 = getTeamFromName("TeamName")--Add Team Name local team2 = getTeamFromName("TeamName")--Add Team Name local pteam = getPlayerTeam(source) if ( pteam == team1 ) then spawnPlayer (source, x,y,z, 0,0,0,0,team1)--Add Position x,y,z fadeCamera(source,true) setCameraTarget(source,source) elseif ( pteam == team2 ) then spawnPlayer (source, x,y,z, 0,0,0,0,team2)--Add Position x,y,z fadeCamera(source,true) setCameraTarget(soure,source) end--if end--function )
  6. حفظت العبه داخل ملف العبه ألأصليه؟ + او ماثبت العبه ألأصليه بمكآن صحيح
  7. ذا يخلي الي مايعصب لازم يعصب انا من جد كآنت عندي بدآيه لاكن مو نفس كذا ^.^ من اول ماجا المنتدى 24 ساعه طآرح موآضيع وغير كذا رده هنا " .. لو اموت ماسويته .. " يعني المود يبيه جآهز الله يستر على القآدم بس
  8. ......................... كل شي تبيه بآرده مبرده وجآي بحسآب جديد ومدري وشو ومتعلم انجليزي وتبي نسويه ولك وتاخذه وتكتب by abo-sr7777777777777777777777777777777777a ? اذا تبي كذآ ابشر من عيوني
  9. والله الي عرفته فدتك فيه واتوقع ماينفع الا تستخدم نوع ثآني لو فيه حركه دون نوع ثآني فـ يفدك شخص ثآني
  10. جرب استخدم ذا النوع checkpoint هو مشآبه لنوع الي تبيه
  11. خلي حكم الماركر 0.3 او 0.4 او 0.2 لو مآنفع ماتوقع فيه حل غير انك تغير النوع
  12. هو يقصد انـه المآركر له طول لانهآيه له انا عطيته أنواع غير cylinder
  13. غير نوعه مثلا local theMarker = createMarker ( x , y , z, "cylinder", size, 255, 255, 0, 170 ) هو نوعه الحين cylinder غيره خليه arrow او corona مغ تغيير الحجم الي هو size يفضل >1<
  14. خخخخخ مخبص ام الكلام كلمه هنا كلمه هنآك كلمه مفهمومه كلمه مو مفهومه لو أنت عربي تكلم زين لو مو عربي ترا في أقسآم ثانيه ^.^
  15. --جرب ولاتحط ======النافذه====== حط ---------النافذه------- GUIEditor_Window[1] = guiCreateWindow(288,150,262,437,"Spawn Panel By >>»FAHAD..<<«",false) myLabel1 = guiCreateLabel ( 3, 3, 3, 1, "Your Name:", true,GUIEditor_Window[1]) myLabel2 = guiCreateLabel ( 3, 3, 5, 1, "Your Ping", true,GUIEditor_Window[1] ) GUIEditor_Button[1] = guiCreateButton(11,148,77,28,"النخيل",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(163,146,80,29,"الدائري",false,GUIEditor_Window[1]) GUIEditor_Button[3] = guiCreateButton(12,242,74,30,"الدخل",false,GUIEditor_Window[1]) GUIEditor_Button[4] = guiCreateButton(166,244,77,31,"الغروب",false,GUIEditor_Window[1]) GUIEditor_Button[5] = guiCreateButton(11,327,77,30,"ساحة القتال",false,GUIEditor_Window[1]) GUIEditor_Button[6] = guiCreateButton(165,326,80,28,"مهمة البنك",false,GUIEditor_Window[1]) GUIEditor_Label[1] = guiCreateLabel(15,407,136,30,"By »FAHAD..??«",false,GUIEditor_Window[1]) -- addEventHandler("onClientRender", getRootElement(), function () if guiGetVisible(GUIEditor_Window[1]) then guiSetText(myLabel1," "..getPlayerName(getLocalPlayer())) end end ) -- function Ping() local myPing = getPlayerPing(getLocalPlayer()) guiSetText ( myLabel2, "Your Ping: ".. tostring(myPing) .." " ) guiSetText ( myLabel2, "Your Ping: ".. tostring(myPing) .." " ) end
  16. حط الكونسل بأي رتبه مصرح فيها ميوت
  17. وين يحط اسم التيم كذا ^.^
  18. لأ مافيه لسيرفر جربه وردلي خبر الخطأ بسيط تم أصلاحه الخطأ كان في التحديث عند تغيير الأسم LabelName = guiCreateLabel(3,210,300,70,'Your Name :',false,WindowName) guiSetText ( LabelName, getPlayerName(getLocalPlayer())) function refresh() if guiGetVisible(WindowName,true) then playerName(LabelName," "..getPlayerName(getLocalPlayer())) else guiSetText(LabelName," "..getPlayerName(getLocalPlayer())) end end addEventHandler("onClientRender", getRootElement(), refresh)
  19. بعطيك مثال وطبق على الباقي LabelName = guiCreateLabel(3,210,300,70,'Your Name :',false,WindowName) guiSetText ( LabelName, getPlayerName(source)) function refresh() if guiGetVisible(WindowName,true) then playerName(LabelName," "..getPlayerName(getLocalPlayer())) else guiSetText(LabelName," "..getPlayerName(getLocalPlayer())) end end addEventHandler("onClientRender", getRootElement(), refresh)
  20. جرب هذا وقولي الخطأ اذا كان فيه خطأ
  21. جرب ma = createMarker (x,y,z, "cylinder", 2, 255, 0, 255, 255 ) V = {} function M( thePlayer ) if V[thePlayer] then if isElement(V[thePlayer]) then destroyElement(V[thePlayer]) end end local x,y,z = getElementPosition(thePlayer) V[thePlayer] = createVehicle(411,x,y,z) warpPedIntoVehicle(source, V[thePlayer]) end addEventHandler( "onMarkerHit", ma, M )
  22. كنت افكره يقصد https://wiki.multitheftauto.com/wiki/Att ... tToElement
  23. ماكررت لاكن لكل شي له رد مو لازم اعفس الرد بأقتباس على اكثر من شخص
×
×
  • Create New...