Jump to content

MrLoKi

Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by MrLoKi

  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
  14. Hello friends ! I want to create a spy mode for my server admin using onClientChatMessage That the admin can spy on the whole chat player ! Please help me.....
  15. Hello Fire Monkey ! There is a problem with your code (No chat is sent when we run Command) Please send me the complete code you wrote
  16. So far so good See I want something that every chat sends to the player ( From the side Server , Player , Alllll Chats ) The Admins also watches I even want to see the errors that the server gives her
  17. That was not the code I was looking for yet But the code you gave me was great , Thank you
  18. No No , You did not understand what I meant I want a code that looks like this ( Spec Camera Player ) => ( Spec Chats Player ) To show all the chats sent to the player => And Sent To Admins It is as if we are playing on that system ?
  19. it's true So if I want to see other chats Define for each of them onChatMessage ?! it's true
  20. No , I want all the chats that On behalf of the server and other players For that player will be sent to watch the managers I want all the chats that
  21. Thank you very much, but I want the code to send all the chats that are sent to that player to my administrators as well. All Chats !! This means that chats sent from the server are also sent to that administrator
  22. Hello Guys..... I wanted the code to send all player chats to the admin Help Me Plz ?? I wanted the code to send all player chats to the admin I wanted the code to send all player chats to the admin
×
×
  • Create New...