Jump to content

JR10

Retired Staff
  • Posts

    2,947
  • Joined

  • Last visited

Everything posted by JR10

  1. والله امركم عجيب "كل دة علشان "رمضان كريم
  2. لو كان الكود سيرفر سايد يبقى لازم getPlayerMoney(player) لا كان كلاينت getPlayerMoney() ما تحتاج الاعب لما يكون كلاينت
  3. Client: showMoney = guiCreateButton(564,132,68,28,"send",false,tap1) function outputMoney() local money = getPlayerMoney() triggerServerEvent("onGetPlayerMoney", localPlayer, money) end addEventHandler("onClientGUIClick", showMoney, outputMoney, false) Server: function onGetPlayerMoney (money) outputChatBox(getPlayerName(client).." has $"..money, root, 0, 255, 0) end addEvent("onGetPlayerMoney", true) addEventHandler("onGetPlayerMoney", root, onGetPlayerMoney)
  4. Really enjoyable server, had fun playing there. Great work and good luck finishing it.
  5. showMoney functionو اسم ال showMoney انت عندك الزر الكود خاطئ
  6. حبيبى هو قال يريده كل شوى مش لما الاعب يدخل متعدل عليه teteomar كود كل 30 ثانية function playerCount() outputChatBox("There are now "..getPlayerCount().."/"..getMaxPlayers().." players on this server!") end setTimer(playerCount, 30000, 0)
  7. و انا اعملك الباقى guieditor باستخدام GUI حبيبي اعمل ال
  8. كود نسخ السيريال استخدم /copyserial Client: function copySerialCommand() setClipboard(getPlayerSerial()) end addCommandHandler("copyserial", copySerialCommand) كود نسخ الاى بى استخدم /copyip Server: function copyIPCommand(player) triggerClientEvent(player, "copyIP", player, getPlayerIP(player)) end addCommandHandler("copyip", copyIPCommand) Client: function copyIP(ip) setClipboard(ip) end addEvent("copyIP", true) addEventHandler("copyIP", root, copyIP) كود اظهار الفلوس بالشات استخدم الزر 'm' function outputPlayerMoney(player) outputChatBox(getPlayerName(player).." has $"..getPlayerMoney(player), root, 0, 255, 0) end function bindKeyForAll() for index, player in pairs(getElementsByType("player")) do bindKey(player, "m", "down", outputPlayerMoney) end end addEventHandler("onResourceStart", resourceRoot, bindKeyForAll) function bindKeyForPlayer() bindKey(source, "m", "down", outputPlayerMoney) end addEventHandler("onPlayerJoin", root, bindKeyForPlayer)
  9. هذا الكود مو صحيح getPlayerIP server only, setClipboard client only.
  10. Stop with the discussion about hacking, and stop posting in Arabic.
  11. الفكرة صح لكن فعلا ممكن يبقى فى مشاكل ما بين المبرمجين أنا ممكن اساعدك بس نعرف الجيم مود
  12. لا الاى بى من http://whatismyipaddress.com
  13. JR10

    طلب كود

    ممكن تبحث هنا https://community.multitheftauto.com/
  14. About time, this section desperately needs moderators, I know Arabic and English, I've been scripting for more than a year, just that I had no time to help. My summer vacation just started, and I've time to help now, so I could moderate this section.
  15. Did you add yourself to the admin group? And logged in?
  16. This topic covers how could you add auto complete MTA functions and fast access to the function wiki page in notepad++. Auto Complete And Syntax Highlighting: viewtopic.php?f=91&t=76726 Function Wiki Page: It's easy, it's basically, you select the function, run a command, and it opens the wiki page. 1. Run > Run 2. Type in: https://wiki.multitheftauto.com/wiki/$(CURRENT_WORD) 3. Save it to a bind. 4. Double click a function name in your .lua file, then click the bind. 5. The function's wiki page should open in your default browser now. If you have any questions post them.
  17. Thanks. But, I remember a script that gets you the globals list, and it would categorize the functions into deprecated, server only, client only, etc.. Just can't find it.
  18. Making a global functions list.
  19. Been wondering, is there a way to check if a function is deprecated? Something like: isFunctionDeprecated(getClientName) Thanks.
  20. What's the purpose of that?
  21. JR10

    MTASA: 1.3.1

    You don't know what you're talking about. 100% doesn't necessarily means it's done and ready to release. There's bug fixes, and minor things added/changed. But 100% means it will be released soon.
×
×
  • Create New...