Jump to content

MrLoKi

Members
  • Posts

    27
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

MrLoKi's Achievements

Advanced Member

Advanced Member (8/54)

1

Reputation

  1. Hello Guys I want to addDebugHook any lua code that the player executes to Detected!
  2. Can anyone help me with this?
  3. Yes, I want a code that does not make any sound during download Help me with this
  4. This is a server-side function and generally does not work function Joined() local players = getElementsByType("player") for i, player in ipairs(players) do setPlayerVoiceIgnoreFrom(player, source, true) end end addEventHandler("onPlayerJoin",getRootElement(),Joined)
  5. Hello Guys ! How To Mute Voice Player In Loading MTA ?? I want to not hear the player sound when the player enters the server in the download and upload resources section
  6. Hello Guys! I want to write a code that will send a worm message to the server inside the Telegram chat or bot For example, when I write hello, this message should be sent to the chat server is it possible?
  7. Hello Guys... I Want To Search In GridList Find it by entering the source name Can you help me?
  8. Hello Guys ! I wanted to Create code ... That an airplane or a smart car Move from one position to another So that no one guides it I hope you understand ....
  9. This script , +200 supports the Player ?! You have a better offer ?
  10. I want to send the information to the database That the submitted information does not cause the server to log shot ! I designed it this way: function SetPlayerDb(Player,Data,Value) Tables[ID][Data] = Value dbExec(getMySQLC(),"UPDATE `UserAccount` SET `"..Data.."` = '"..Value.."' WHERE `User` = '"..tonumber(Tables[ID]["User"]).."'") return true end end Do you have an idea?
  11. Hello Guys... I want to create an account system ! I want this account system , To Support For +200 Player In Server ! Thank you for your help in this regard
  12. I want the server admin to be able to spy on the player with this command
  13. Server side: addCommandHandler("spy", function (player, command, target) if target then local ppl = getPlayerFromName(target) if ppl then setElementData(ppl, "spy", thePlayer) outputChatBox("Enabled on: "..getPlayerName(ppl).."", player, 255, 255, 255) end else outputChatBox("USAGE: /"..command.." <Player-Name>", player, 255, 255, 255) end end) addEvent("spy:ShowChat", true) addEventHandler("spy:ShowChat", root, function (root, message) local spy = getElementData(root, "spy") if spy then outputChatBox("[SPY-Mode] "..getPlayerName(root)..": "..message, spy, 255, 255, 255) end end) Client side: local lastMessage = nil addEventHandler("onClientChatMessage", getRootElement(), function (message) if not getElementData(getLocalPlayer(), "spy") then return false end if message == "" or message == " " then if lastMessage == message then return end end lastMessage = message triggerServerEvent("spy:ShowChat", getLocalPlayer(), getLocalPlayer(), message) end) I use this code but chats are not sent to the admin ! I wanted a code similar to this
×
×
  • Create New...