-
Posts
2,947 -
Joined
-
Last visited
Everything posted by JR10
-
والله امركم عجيب "كل دة علشان "رمضان كريم
-
لو كان الكود سيرفر سايد يبقى لازم getPlayerMoney(player) لا كان كلاينت getPlayerMoney() ما تحتاج الاعب لما يكون كلاينت
-
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)
-
Really enjoyable server, had fun playing there. Great work and good luck finishing it.
-
Really old topic..
-
showMoney functionو اسم ال showMoney انت عندك الزر الكود خاطئ
-
حبيبى هو قال يريده كل شوى مش لما الاعب يدخل متعدل عليه teteomar كود كل 30 ثانية function playerCount() outputChatBox("There are now "..getPlayerCount().."/"..getMaxPlayers().." players on this server!") end setTimer(playerCount, 30000, 0)
-
و انا اعملك الباقى guieditor باستخدام GUI حبيبي اعمل ال
-
كود نسخ السيريال استخدم /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)
-
هذا الكود مو صحيح getPlayerIP server only, setClipboard client only.
-
Stop with the discussion about hacking, and stop posting in Arabic.
-
الفكرة صح لكن فعلا ممكن يبقى فى مشاكل ما بين المبرمجين أنا ممكن اساعدك بس نعرف الجيم مود
-
لا الاى بى من http://whatismyipaddress.com
-
ممكن تبحث هنا https://community.multitheftauto.com/
-
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.
-
Did you add yourself to the admin group? And logged in?
-
That ^
-
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.
-
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.
-
Making a global functions list.
-
Been wondering, is there a way to check if a function is deprecated? Something like: isFunctionDeprecated(getClientName) Thanks.
-
What's the purpose of that?
-
The challenge of making application programmers Maud
JR10 replied to hassan.k.s.a's topic in Scripting
Not at all. -
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.
