Jump to content

JR10

Retired Staff
  • Posts

    2,947
  • Joined

  • Last visited

Everything posted by JR10

  1. That is so messed up. local BodyguardMarker = createMarker( -2765.46118, 368.87973, 5.17000, 'cylinder', 2.0, 255, 0, 0, 150) local BodyguardTeam = createTeam ( "Bodyguard", 47, 79, 79 ) function MarkerHit( hitElement, matchingDimension ) if getElementType( hitElement ) == "player" then setPlayerTeam(hitElement, BodyguardTeam) end end addEventHandler( "onMarkerHit", BodyguardMarker, MarkerHit )
  2. JR10

    sreen_money

    You already have the money under the health bar. Sorry, but this is not really useful.
  3. Server: addEvent("destroyVehicle",true) addEventHandler("destroyVehicle",root,function(vehicle) destroyElement(vehicle) end) Client: function destroyVeh() local theVehicle = getPedOccupiedVehicle (localPlayer) if (theVehicle) then triggerServerEvent("destroyVehicle",localPlayer,theVehicle) outputChatBox("Your vehicle has been destroyed.", 0, 255, 0) guiSetVisible(window, false) showCursor(false) else outputChatBox("You aren't in a vehicle.", 255, 0, 0) guiSetVisible(window, false) showCursor(false) end end addEventHandler("onClientGUIClick", destroyButton, destroyVeh, false)
  4. تظهر؟ "Your vehicle has been destroyed." هل الرسالة
  5. Lol'ed. فى نفس الوقت, مش حتشتغل خالص unbindKey و bindKey أنت بتعمل
  6. هل الرسالة تظهر؟ ؟/debugscript 3 أى رسائل فى
  7. أنا من مصر, بس كنت عايش بالخارج
  8. PingTable = { } function PingCheck(source) if (getPlayerPing(sourcer) > tonumber(get("MaxPing"))) then kickPlayer(ThePlayer, "High Ping") else outputConsle( ThePlayer.. "Has passed the ping check") end end function onPlayerJoinGame() table.insert(PingTable ,setTimer(PingCheck, tonumber(get("Delay")), 1 , source) ) end addEventHandler("onPlayerJoin", getRootElement(), onPlayerJoinGame)
  9. Just type in search the new page title and click search, if it exists it will show you the page's link, if it doesn't, it will show you "Create this page".
  10. Ah damn, well it's a good thing I posted a how to, so it's kinda a tutorial. Oh and thanks Xeno.
  11. Text-To-Speech I don't know if there is something similar released, it's a really simple script, just releasing so you could know how to do it. The resource allows you use exported function, textToSpeech, to output a speech. Usage: --SERVER SIDE: exports["t2speech"]:textToSpeech ( text , [ toWho = root ] ) --CLIENT SIDE: exports["t2speech"]:textToSpeech ( text ) Download Just want to know how? Here: playSound ( "http://translate.google.com/translate_tts?q=TEXT TO SPEECH" )
  12. JR10

    Questions

    http://mta.dzek.eu/
  13. serverFFS is really bad, I've a webhost there, the control panel is alot down, tons of bugs. Join another company host.
  14. أرجو فعلا أن يكون الموضوع صحيح و مفيد للعرب حظ طيب
  15. مافيش كلينت, انت ناقل جزء و سايب التانى
  16. I removed the command, useless since it's already handled onPlayerLogin.
  17. teamAdmin = createTeam ( "Admin", 255, 0, 0 ) function addtoteam(thePlayer) if ( hasObjectPermissionTo ( thePlayer, "function.kickPlayer", true ) ) then setPlayerTeam ( thePlayer,teamAdmin ) setPedSkin ( thePlayer, 116 ) giveWeapon ( thePlayer, 22, 500, true ) giveWeapon ( thePlayer, 30, 500, true ) setPedArmor ( thePlayer, 100 ) setElementHealth (thePlayer, 100) outputChatBox("YOU MOVED TO TEAM ADMIN", thePlayer, 255, 0, 0) end end function addtoteamtimer() setTimer(addtoteam,3000,1,source) end addEventHandler("onPlayerLogin",getRootElement(),addtoteamtimer) https://wiki.multitheftauto.com/wiki/Scr ... troduction https://wiki.multitheftauto.com/wiki/AR/ ... 8%AC%D9%87
  18. يا أخى صعب أوى اننا نساعدك بهذه الطريقة, لازم يكون عندك أى خلفية https://wiki.multitheftauto.com/wiki/Int ... ng_the_GUI
  19. function و حتنتهى بعد انتهاء ال function تعنى أن الكلمة سوف تكون موجودة داخل ال https://wiki.multitheftauto.com/wiki/Local
  20. addCommandHandler("chat", function(player,_,name,...) local target = getPlayerFromName(name) if not target then return end local message = table.concat ( {...}," " ) if not message or #message == 0 then return end outputChatBox ( getPlayerName ( target ) .. ": " .. message , 255 , 255 , 255 ) end) /chat playerName message.
  21. Try: setWeaponProperty(34,"poor","flags",0x000400) setWeaponProperty(34,"std","flags",0x000400) setWeaponProperty(34,"pro","flags",0x000400)
  22. In the wiki, introduction to scripting, shows how to do such thing. You can stop every resource, like freeroam and play (Because they spawn players), and use 'onPlayerLogin' event. https://community.multitheftauto.com/
×
×
  • Create New...