Jump to content

AhmadQTR

Members
  • Posts

    451
  • Joined

  • Last visited

Everything posted by AhmadQTR

  1. يمكن يفيدك https://forum.multitheftauto.com/viewtopic.php?f=119&t=51042
  2. https://community.multitheftauto.com/index.php?p=resources&s=details&id=6095 DONE
  3. https://forum.multitheftauto.com/viewtopic.php?f=98&t=50828
  4. Maybe like this? voice = false disabled = true one = false tab1 = false tab2 = false addCommandHandler("voice",function() voice = not voice end) addEventHandler("onClientPlayerWasted",root, function() voice = false end) addEventHandler("onClientRender",root, function() local width,height = guiGetScreenSize() if voice then dxDrawText("Radio Machine ",1,(height/2)-80,width,height,tocolor(255,255,255,255),0.6,"bankgothic" ) if isPedInVehicle(localPlayer) then return end tab1 = true dxDrawRectangle(0,(height/2)-80,220,200,tocolor(0,0,0,70)) if not disabled then dxDrawText("(1) Roger",1,(height/2)-60,width,height,tocolor(100,150,240,255),0.6,"bankgothic" ) one = true else dxDrawText("(1) Roger",1,(height/2)-60,width,height,tocolor(100,100,100,255),0.6,"bankgothic" ) one = false end end end) function enableAll() disabled = false end function disableAll() disabled = true setTimer(enableAll, 5000, 1) end bindKey("1", "down",function() if voice then if one then local x, y, z = getElementPosition(localPlayer) if tab1 then sendSound("1.1", x, y, z) end end disableAll() end end) function sendSound (sound, nX, nY, nZ) local pX, pY, pZ = getElementPosition(getLocalPlayer()) local dist = getDistanceBetweenPoints3D(pX, pY, pZ, nX, nY, nZ) if dist < 40 then if sound == "1.1" then playSound("sounds/roger.mp3", false) end end end
  5. function giveHealth () setElementHealth ( source, 100 ) end addCommandHandler ( "health", giveHealth ) هذا الكود يعطيك دم اذا كتبت health في اف 8
  6. جرب تستخدمه كلاينت addEventHandler("onClientResourceStart", root, function() Hern = createPed( 267, 3584.1713867188,-1795.8836669922, 1.4292726516724 ) setPedAnimation( Hern, "AIRPORT", "thrw_barl_thrw") end )
  7. You can't add paintjob to uranus.
  8. AhmadQTR

    help anyone

    What you wanna do exactly.
  9. I deleted them and tryed again ( with running MTASE as administrator too ) and nothing changed , lua syntax checker dosen't work and functions dosen't show....
  10. 1- Yes i did , same thing lua syntax checker dosen't work and server and client side functions dosen't show. 2-Nope there is no error.txt 3-I just see temp.luac and temp.lua but temp.lua was a script i was checking for someone.
  11. يعني لازم يوصل الموضوع 500 صفحه و حنا نسئل و نخمن ايش الي تبي تسويه؟ اي والله 25صفحه على فاضي
  12. You mean you wanna create a team just for admins? with [ ] or | | tags? and it saves?
  13. I downloaded it. when i start the program it opens normally but when i type something wrong lua syntax checker dosen't work, just see this image and you will understand http://img51.imageshack.us/img51/9817/68169058.png but 'root' is a predefined variable as 'getRootElement()' anyway , i think you shall turn on syntax checker , i don't have this feature too. It must say ( unexpected something like that And how shall i start it? in old MTA Script Editor the lua syntax checker was working perfect.
  14. 1. killPlayer 2.https://community.multitheftauto.com/index.php?p=resources&s=details&id=5181 or https://community.multitheftauto.com/index.php?p=resources&s=details&id=612
  15. لعبه : الكل يحط سرعة النت فقط ادخل على http://www.speedtest.net BEGIN TEST و اضغط على
  16. Lol , okay Btw , did it work goofie88?
  17. Extra '>' ? No need to increase your posts
×
×
  • Create New...