Normand

Members
  • Content Count

    16
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Normand

  • Rank
    Square

Details

  • Gang
    .
  • Location
    Berettyóújfalu
  • Occupation
    .
  • Interests
    .

Recent Profile Visitors

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

  1. Normand

    MTA MYSQL PROBLEM

    Ohh my :Oing god, thanks.
  2. Normand

    MTA MYSQL PROBLEM

    Please help someone.
  3. Normand

    MTA MYSQL PROBLEM

    mysql_kapcsolat = dbConnect("sqlite", "szerver.db", _, _, "share=0", "batch=0", "autoreconnect=1", "log=1")
  4. Normand

    MTA MYSQL PROBLEM

    I tried everything but nothing.
  5. Normand

    MTA MYSQL PROBLEM

    The connection is okay but dbQuery and dbPoll first argument got nil. ( sorry for my bad english ) ERROR: MYSQL CONNECTION CODE: "felhasznalo" SCRIPT:
  6. Normand

    RP LOCAL CHAT BUG

    it is works thanks
  7. Normand

    RP LOCAL CHAT BUG

    Please help, someone.
  8. Normand

    RP LOCAL CHAT BUG

    My new problem, double messages. Default chat and my chat. Richard Norrington: asd Richard Norrington mondja: asd Code: local chat_tavolsag = 100 function onChat(msg, messageType) local X, Y, Z = getElementPosition(source) local nev = getPlayerName(source) for _, v in ipairs(getElementsByType("player")) do if messageType == 0 then cancelEvent() if isPlayerInRangeOfPoint(v, X, Y, Z, chat_tavolsag) then outputChatBox("".. nev .." mondja: ".. msg .."", v, 255, 255, 255, true) end end end end addEventHandler("onPlayerChat", root, onChat)
  9. Normand

    RP LOCAL CHAT BUG

    So i tried to make a local chat based on the basic mta chat function (The T Bind) but it does not work because i think the mta basic chat overwrites my script.
  10. Normand

    RP LOCAL CHAT BUG

    Error: [2017-12-28 09:08:30] WARNING: chat/server.lua:44: Bad argument @ 'getElementPosition' [Expected element at argument 1, got nil] [2017-12-28 09:08:30] WARNING: chat/server.lua:45: Bad argument @ 'getPlayerName' [Expected element at argument 1, got nil] [2017-12-28 09:08:30] WARNING: chat/server.lua:55: Bad argument @ 'addEventHandler' [Expected function at argument 3, got none] Code: local chat_tavolsag = 100 function onChat(player, _, msg) local X, Y, Z = getElementPosition(player) local nev = getPlayerName(player) for _, v in ipairs(getElementsByType("player")) do if messageType == 0 then if isPlayerInRangeOfPoint(v, X, Y, Z, chat_tavolsag) then outputChatBox("".. nev .." mondja: ".. msg .."", v, 255, 255, 255, true) end end end end addEventHandler("onPlayerChat", getRootElement(), onChat(player, _, messsage)) Please help, i want a local chat.
  11. Normand

    playSound for everybody

    Ohh, :~, What?! I don't understand it, sorry. Please fix it for all player, please. Code: Client: function szirenak() sound = playSound("szirena.mp3") end addEvent("SzirenaLejatszasa", true) addEventHandler("SzirenaLejatszasa", root, szirenak) Server: function Szirena(player, command) triggerClientEvent(player, "SzirenaLejatszasa", player) end addCommandHandler("szirena", Szirena)
  12. Normand

    playSound for everybody

    How to trigger root to client? Sorry for my bad english.
  13. Normand

    playSound for everybody

    I have a air raid siren script, but when i start that, my friends can't hear that.