Jump to content

zero00

Members
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

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

zero00's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. I m new editing Can tell me where error local discordWebhookURL = "https://discord.com/api/webhooks/1244182172018147378/EeF6d0cYPte8J8ppCH#######gpXqBRqmk3ryZD15gWS8965" function sendDiscordMessage(message) sendOptions = { formFields = { content="``` - Date : [ "..showtime().." ]\n - GIVEMONEY Admin : [ " .. username .. " ] has given [ ".. targetUsername .." ] [ ".. targetCharacterName .." ] $ [ ".. amount .." ]\n - Reason : [ ".. reason .. " ]".."```" }, } fetchRemote ( discordWebhookURL, sendOptions, WebhookCallback ) end -- 2 arguments (responseData gives back the response or "ERROR" ) function WebhookCallback(responseData) outputDebugString("(Discord webhook callback): responseData: "..responseData) end -- SendDiscordTestMessage (deletable, it's a sample function) function SendDiscordTestMessage(player, command, ...) local msg = table.concat({...}," ") -- for multiple words sendDiscordMessage(msg) end addCommandHandler("LocalOOC", SendDiscordTestMessage)
  2. I want if I press hud dutyadmin to change skin How do it https://j.top4top.io/p_2807xmwjt1.png and i cant get old skin how do it plz help function adminDutyAdmin(thePlayer) if exports.integration:isPlayerTrialAdmin(thePlayer) then local adminduty = getElementData(thePlayer, "duty_admin") local username = getPlayerName(thePlayer) if not getElementData ( thePlayer, "duty_admin" ) then setElementData( thePlayer, "duty_admin", true ) outputAdminMessage("online"..getPlayerName(thePlayer).." admin") setElementModel(thePlayer, 217) elseif getElementData ( thePlayer, "duty_admin" ) then setElementData( thePlayer, "duty_admin", false ) outputAdminMessage("offline "..getPlayerName(thePlayer).." admin") return setElementModel(thePlayer, 186) end end end addCommandHandler("adminDuty", adminDutyAdmin) addCommandHandler("ad", adminDutyAdmin)
  3. what the fix ?? /home mods deathmatch settings.xml <settings> <setting name="@mysql.database" value="removed by Staff" /> <setting name="@mysql.username" value="removed by Staff" /> <setting name="@mysql.password" value="removed by Staff" /> <setting name="@mysql.hostname" value="removed by Staff" /> <setting name="@mysql.port" value="3306" /> <setting name="admin.ip2cUpdateTime" value="[1691168139]"></setting> </settings> you have fix plz ?
  4. [10:06:49] ERROR: mysql/connection.lua:46: attempt to call global 'mysql_connect' (a nil value) [10:06:49] ERROR: weather-system/s_weather_system.lua:56: call: failed to call 'mysql:query_free' [string "?"] [10:12:00] ERROR: mysql/connection.lua:46: attempt to call global 'mysql_connect' (a nil value) [10:12:00] ERROR: apps/app_manager_s.lua:46: call: failed to call 'mysql:query_fetch_assoc' [string "?"] [10:12:00] ERROR: apps/app_manager_s.lua:47: attempt to index local 'mQuery' (a boolean value) [10:13:17] ERROR: mysql/connection.lua:46: attempt to call global 'mysql_connect' (a nil value) [10:13:17] ERROR: help/commands/help_s.lua:6: call: failed to call 'mysql:query' [string "?"] [10:13:30] ERROR: mysql/connection.lua:242: attempt to call global 'mysql_escape_string' (a nil value) [10:13:30] ERROR: mysql/connection.lua:242: attempt to call global 'mysql_escape_string' (a nil value) [10:13:30] ERROR: account/login-panel/server.lua:32: call: failed to call 'mysql:escape_string' [string "?"] [10:13:30] ERROR: account/login-panel/server.lua:32: attempt to concatenate a boolean value cant login sending request to server....
  5. [Daemon]: Checking server disk space usage, this could take a few seconds... [Daemon]: Updating process configuration files... [Daemon]: Ensuring file permissions are set correctly, this could take a few seconds... [Daemon]: Pulling Docker container image, this could take a few minutes to complete... Pulling from parkervcp/yolks Status: Image is up to date for ghcr.io/parkervcp/yolks:ubuntu Digest: sha256:d07a83ccb2ac17f1d530844dcfad44cd06bb706eeb8bb9c4fec4a8e2dac2f10f [Daemon]: Finished pulling Docker container image :/home/container$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/container:/home/container/x64:/home/container/x64/modules && ./mta-server64 --port ${SERVER_PORT} --httpport ${SERVER_WEBPORT} -n MTA:BLUE Server for MTA:SA ================================================================== = Multi Theft Auto: San Andreas v1.6 [64 bit] ================================================================== = Server name : ☆ Community - Role Play = Server IP address: 51.81.57.217:32723 = Server port : 32723 = = Log file : ..e/container/mods/deathmatch/logs/server.log = Maximum players : 50 = HTTP port : 32846 = Voice Chat : Disabled = Bandwidth saving : Medium ================================================================== [09:02:15] Resources: 185 loaded, 0 failed [09:02:15] MODULE: Loaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso <[email protected]>" [09:02:15] Starting resources... [09:02:15] WARNING: admin/server/admin_server.lua(Line 1032) [Server] doesPedHaveJetPack is deprecated and may not work in future versions. Please replace with isPedWearingJetpack. [09:02:15] WARNING: admin/server/admin_server.lua(Line 1033) [Server] removePedJetPack no longer works. Replaced with setPedWearingJetpack. Refer to the wiki for details [09:02:15] WARNING: admin/server/admin_server.lua(Line 1038) [Server] givePedJetPack no longer works. Replaced with setPedWearingJetpack. Refer to the wiki for details [09:02:16] Some files in 'admin' use deprecated functions. [09:02:16] Use the 'upgrade' command to perform a basic upgrade of resources. [09:02:16] Server minclientversion is now 1.6.0-9.21890.0 [09:02:16] INFO: --DATABASE CREDENTIALS-- [09:02:16] INFO: --HOST: Error [09:02:16] INFO: --DB: Error [09:02:16] INFO: --USER: Error [09:02:16] INFO: --PW: Error [09:02:16] INFO: --PORT: Error [09:02:16] INFO: --RESULT: [09:02:16] ERROR: mysql/connection.lua:46: bad argument #1 to 'mysql_connect' (string expected, got boolean) [09:02:16] INFO: --DATABASE CREDENTIALS-- [09:02:16] INFO: --HOST: Error [09:02:16] INFO: --DB: Error [09:02:16] INFO: --USER: Error [09:02:16] INFO: --PW: Error [09:02:16] INFO: --PORT: Error [09:02:16] INFO: --RESULT: [09:02:16] ERROR: mysql/connection.lua:46: bad argument #1 to 'mysql_connect' (string expected, got boolean) [09:02:16] ERROR: global/s_money_globals.lua:51: call: failed to call 'mysql:query' [string "?"] -------------------------------------------------------------------- يكتب [09:02:16] INFO: --DATABASE CREDENTIALS-- [09:02:16] INFO: --HOST: Error [09:02:16] INFO: --DB: Error [09:02:16] INFO: --USER: Error [09:02:16] INFO: --PW: Error [09:02:16] INFO: --PORT: Error [09:02:16] INFO: --RESULT: مع ان المعلومات صحيحة
×
×
  • Create New...