Normand
Members-
Posts
15 -
Joined
-
Last visited
Details
-
Gang
.
-
Location
Berettyóújfalu
-
Occupation
.
-
Interests
.
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Normand's Achievements
Square (6/54)
0
Reputation
-
Ohh my :Oing god, thanks.
- 9 replies
-
- mta
- connection
-
(and 7 more)
Tagged with:
-
SQLLite
- 9 replies
-
- mta
- connection
-
(and 7 more)
Tagged with:
-
Please help someone.
- 9 replies
-
- mta
- connection
-
(and 7 more)
Tagged with:
-
mysql_kapcsolat = dbConnect("sqlite", "szerver.db", _, _, "share=0", "batch=0", "autoreconnect=1", "log=1")
- 9 replies
-
- mta
- connection
-
(and 7 more)
Tagged with:
-
I tried everything but nothing.
- 9 replies
-
- mta
- connection
-
(and 7 more)
Tagged with:
-
The connection is okay but dbQuery and dbPoll first argument got nil. ( sorry for my bad english ) ERROR: MYSQL CONNECTION CODE: "felhasznalo" SCRIPT:
- 9 replies
-
- mta
- connection
-
(and 7 more)
Tagged with:
-
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)
-
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.
-
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)