Jump to content

hassan.k.s.a

Members
  • Posts

    868
  • Joined

  • Last visited

Everything posted by hassan.k.s.a

  1. جرب هذا function playerDamage( attacker, weapon, attackerweapon, loss ) local Team = getTeamFromName ( "Police" )--ضيف قروب الشرطه if Team then if ( attackerweapon == 0 ) then--بدل 0 بأسم العصى لشرطه spawnPlayer ( player, x, y, z )--حط ألأحداثيات الي راح ينتقل لهم الاعب مو تنسخه وتلصقه وتقول ماشتغل end end end addEventHandler ( "onPlayerDamage", getRootElement (), playerDamage)
  2. 1مثال function v() if isPedInVehicle ( source ) then local x,y,z = getElementPosition (source) ob = createObject ( id, x, y, z )--add id the object Vehicle = getPedOccupiedVehicle(source) attachElements ( ob, Vehicle, 0, 0, -1 ) end end مثال2 function v() ob = createObject ( id, x, y, z ) local Vehicle = createVehicle ( 432, x, y, z + 5 ) attachElements ( ob, Vehicle, 0, 0, 5 ) end
  3. AttachElements createVehicle CreateObject
  4. عدله من الأدمنيه ألسايتنق للفري روم وخلي بدل الماكس 2 خليه 1
  5. guiGridListSetItemText(GUIEditor_Grid[1],row,nametop,name,true,true)
  6. لاحول ياحبيبي ياذكي يابابا جربت الكود حقي؟
  7. لا ما يشتغل كذا بدون ما اجرب دامك تعرف انه مايشتغل يعني عارف الحل مثلأً ^.^
  8. LoL? عارف انه غلط لاكن بأنتضار ردك هع
  9. جرب هذا guiGridListSetItemText(GUIEditor_Grid[1], row, getPlayerName(nametop), tostring(data.name), false, false)
  10. function clear(player) if ( hasObjectPermissionTo ( thePlayer, "general.adminpanel", true ) ) then for i=1,30 do outputChatBox(" ") end outputChatBox("*** #ff0000INFO:#ffff00#736F6E ADMIN #00ff00[ "..getPlayerName(player).." ] #ffff00#736F6E#736F6ECLEARED THE CHAT #ff0000***",root,255,12,15, true) else outputChatBox ("You are Not Admin", player, 193, 13, 13) end end addCommandHandler("cc", clear)
  11. اذا تبيها تنسحب تفضل --server side-- function planeEnter ( theVehicle, seat, jacked) local NameTeam = getTeamFromName ( "a" )--بأسم قروب الحراميه a استبدل if NameTeam then local id = getElementModel ( theVehicle ) if id == 000 or id == 000 or id == 000 then--استبدل 000 بأيدي السياره destroyElement(theVehicle) end end end addEventHandler ( "onPlayerVehicleEnter", getRootElement(), planeEnter ) --meta--
  12. اطرح الأكواد وانت معدل عليها + ملف meta
  13. امم انت مشكلتك تبي تحديث ولا تبي الي يقتل يضهر في السته ^.^
  14. addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()), function Timer() triggerServerEvent("onGetTop",getLocalPlayer()) end) setTimer(Timer,10000,0) addEvent("onClient",true) addEventHandler("onClient",getRootElement(), function (name,data) local row = guiGridListAddRow(GUIEditor_Grid[1]) guiGridListSetItemText(GUIEditor_Grid[1],row,nametop,name,false,false) guiGridListSetItemText(GUIEditor_Grid[1],row,datatop,data,false,false) end)
  15. معليش كنت مستعجل جرب هذا function planeEnter ( theVehicle, seat, jacked ) local NameTeam = getTeamFromName ( "a" )--بأسم قروب الحراميه a استبدل if NameTeam then local id = getElementModel ( theVehicle ) if id == 000 then --استبدل 000 بأيدي السياره blowVehicle ( theVehicle ) end end end addEventHandler ( "onPlayerVehicleEnter", getRootElement(), planeEnter ) واذا اكثر من سياره function planeEnter ( theVehicle, seat, jacked ) local NameTeam = getTeamFromName ( "a" )--بأسم قروب الحراميه a استبدل if NameTeam then local id = getElementModel ( theVehicle ) if id == 000 or id == 000 or id == 000 or id == 000 then--استبدل 000 بأيدي السياره blowVehicle ( theVehicle ) end end end addEventHandler ( "onPlayerVehicleEnter", getRootElement(), planeEnter )
  16. جرب هذا --Server Side function v( thePlayer ) local ID = getElementModel(getPedOccupiedVehicle(thePlayer)) if ( ID == 000) then--ركب اي دي السياره لشرطه بدل 000 if ( getTeamName == name) then--name ضع اسم التيم الشرطه بدل setElementHealth ( source, getElementHealth(source) - 100 ) end end end addEventHandler("onVehicleEnter",root,v) او function v( thePlayer ) local ID = getElementModel(getPedOccupiedVehicle(thePlayer)) if ( ID == 000) then--ركب اي دي السياره لشرطه بدل 000 if ( getTeamName == name) then--name ضع اسم التيم الشرطه بدل setElementHealth ( thePlayer, getElementHealth(thePlayer) - 100 ) end end end addEventHandler("onVehicleEnter",root,v)
  17. local x, y, z = getElementPosition (Ped) Blip = createBlip( x, y, z, 0) Ped = createPed( id, x, y, z)--Add Position And id --Position x, y, z
  18. مكررة لأنه زارفه ^.^
  19. bindKey --https://wiki.multitheftauto.com/wiki/BindKey SetPlayerTeam --https://wiki.multitheftauto.com/wiki/SetPlayerTeam اذا تبيه كآمل = مبلغ مآدي بـ الخاص
  20. انا وش لي معرفة فيك على شأن اكلمك ؟ وانا وش لي معرفة فيك لاكن جا شخص لي بنكك وبقيت أتأكد
  21. هو يبي الطلقات ورا بعض دون تعشيق وبعدين انت الي كلمتني البارح ولا شخص ثآني؟
×
×
  • Create New...