CodX
Members-
Posts
71 -
Joined
-
Last visited
Everything posted by CodX
-
So what can i do to be executed that command ?
-
Hello ! I've made a script, an AutoExec. I want to "/respawnall 10" after a time but didn't work, he got nil.. can you help me please ? Error: WARNING: AutoRespawnAll/respawn.lua:2: Bad argument @ 'executeCommandHandler' [Expected element at argument 2, got nil] Script: setTimer(function () executeCommandHandler("respawnall 10", thePlayer) end, 5000, 0) Sorry for my english, i'm from Romanian.
-
Work when a player type /glue ! Is very good and in this mode ! Thank you for help !
-
Ok. I will edit this message with a reponse in 1 hour, i wait to connect a player P.S: Sorry for my english.
-
Yes. <meta> <script src="bug.lua" type="server" /> <script src="bug.lua" type="client" /> </meta>
-
Doesn't not work. The script doesn't have errors but players take damage when they climb up in train. I will try to find o solution for that.. But I have a more serious problem on the train, that with the injury I will solve it somehow. After 5-10 minutes, the train moves its location a few meters further and no longer climbs up into it, unless it just wipes out and makes another.
-
Ok. I will try. I will edit this message at 20:00. Now the hosting is in manage...
-
I've made a job for "train". If that bug can be disabled from scripting of the job, i really don't know how can i do that. Can you help me, if you how ?
-
My server is Hard RolePlay. I can't disable damage.. Then the Cops can;t shot in criminals to kill them, or criminals in cops. Attached i've triet but don't work.
-
Hello ! The train has some bugs in GTA multiplayer (MTA Server). When a player climb up like passager in train, he will die after tunnel of Los Santos and another location. Can be solve this bug ? P.S: Sorry if my english is bad, i from Romanian.
-
Works ! Thank you ! And yes, i need to learn lua. I'm beginner. At school i learn C++ so i've used the bases of that language. Thank you again ! Very much !
-
My language is Romanian. I want to add a condition. For example: I type /participa , participa = participate, and then teleport me or other player to x, y, z. I've tried to add if ({participa}) then --teleport-- I don't how to make this condition with teleport. Can you help me please ? Scrip modify: function joinEvent(thePlayer, commandName, ...) if (exports.integration:isPlayerLeadAdmin(thePlayer) and {event}) then local playerName = getPlayerName ( thePlayer ) outputChatBox("Adminul '" .. playerName.. "' testeaza un script personal.", source, 255, 194, 14) outputChatBox("Scrie /participa pentru a participa !", source, 255, 194, 14) else outputChatBox("Trebuie sa fi 'Lider Admin' pentru a avea acces la '/event'", thePlayer, 255, 194, 14) outputChatBox("Script creat de 'Griffin_Connor'.", thePlayer, 255, 194, 14) end if({participa}) then outputChatBox("Test", thePlayer, 255, 194, 14) end end addCommandHandler("event", joinEvent) addCommandHandler("participa", joinEvent)
-
Hello ! I want to make an Event-System for my MTA Server but i don't know how can i add a condition (when the player write "event", then teleport) function event(thePlayer, commandName, ...) if (exports.integration:isPlayerLeadAdmin(thePlayer)) then local playerName = getPlayerName ( thePlayer ) outputChatBox("Adminul '" .. playerName.. "' testeaza un script personal.", source, 255, 194, 14) outputChatBox("Scrie /participa pentru a participa !", source, 255, 194, 14) else outputChatBox("Trebuie sa fi 'Lider Admin' pentru a avea acces la '/event'", thePlayer, 255, 194, 14) outputChatBox("Script creat de 'Griffin_Connor'.", thePlayer, 255, 194, 14) end end addCommandHandler("event", event) ) Logs: SCRIPT ERROR: event-system2/event.lua:14: 'end' expected (to close 'function' at line 1) near '<eof>' ERROR: Loading script failed: event-system2/event.lua:14: 'end' expected (to close 'function' at line 1) near '<eof>'
-
aa.. Ok.. Of.. You can close this topic.
-
I know this script is ".lua" and i want to learn this language. But i need help with this resource.. I really don't know how can i do.. P.S: Sorry for my english if isn't good.
-
I tried to solve myself. But I can not. At school I learn C ++ and I do not have time to learn and lua.
-
Hi ! I have OWL Gamemode (RolePlay) and resourse 'advertisements' output "SQL Error". I don't know how can i solve this.. I've tried to find something on google but... 0... Can you help me please ?
-
I solve it ! I'm stupid.. I forgot to place in meta.xml
-
Hello ! When i'm on login pannel in console show this message: BASS ERROR 2 in LoadMedia path:C:\Program Files (x86)\MTA San Andreas 1.5\mods\deathmatch\resources\account\sounds\muzica.mp3 3d:0 loop:1 Element "muzica.mp3" exist in that folder. What can i do to work ? Login script:
-
Hello ! I have a MTA:SA RolePlay Server and i don't know how can i solve this errors: ================================================================== = Multi Theft Auto: San Andreas v1.5.2 ================================================================== = Server name : || Romania RolePlay - PlayHard || [Mentenanta] = Server IP address: 46.102.116.24 = Server port : 22003 = = Log file : ..service5057/mods/deathmatch/logs/server.log = Maximum players : 30 = HTTP port : 22003 = Voice Chat : Disabled = Bandwidth saving : Maximum with lightweight sync rate of 1500ms ================================================================== [2017-06-17 16:55:15] ERROR: Couldn't find file skins/csher.txd for resource changeme [2017-06-17 16:55:15] Loading of resource 'changeme' failed [2017-06-17 16:55:15] ERROR: Couldn't find script s_marker.lua for resource job-system-trucker [2017-06-17 16:55:15] Loading of resource 'job-system-trucker' failed [2017-06-17 16:55:15] ERROR: Couldn't find map San Fierro/LSTR.map for resource map-system-old [2017-06-17 16:55:15] Loading of resource 'map-system-old' failed [2017-06-17 16:55:15] Resources: 160 loaded, 0 failed [2017-06-17 16:55:15] MODULE: Loaded "MySQL 5.0 database module" (0.50) by "Alberto Alonso <[email protected]>" [2017-06-17 16:55:15] Starting resources...... [2017-06-17 16:55:15] Server minclientversion is now 1.5.4-9.11354.0 [2017-06-17 16:55:15] INFO: MYSQL ERROR 1146: Table 'codx.maps_names' doesn't exist [2017-06-17 16:55:15] INFO: 0 mape cu 0 obiecte si 0 stergeri din mapa incarcate in 1ms [2017-06-17 16:55:15] Server password cleared [2017-06-17 16:55:15] ERROR: faction-system/s_faction_admin.lua:513: attempt to index local 'maxrow' (a nil value) [2017-06-17 16:55:15] Please wait... [2017-06-17 16:55:15] INFO: MYSQL ERROR 1146: Table 'codx.blips' doesn't exist [2017-06-17 16:55:15] INFO: 0 blipuri incarcate in 2ms [2017-06-17 16:55:15] SCRIPT ERROR: interior-system/blips_s.lua:1: unexpected symbol near '\' [2017-06-17 16:55:15] ERROR: Loading script failed: interior-system/blips_s.lua:1: unexpected symbol near '\' [2017-06-17 16:55:15] ERROR: Couldn't find resource language-system. Check it exists. [2017-06-17 16:55:15] INFO: MYSQL ERROR 1146: Table 'codx.clothes_pos' doesn't exist [2017-06-17 16:55:16] ERROR: Couldn't find resource job-system-trucker. Check it exists. [2017-06-17 16:55:16] INFO: Loaded 0 pilot licenses in 2ms. [2017-06-17 16:55:16] INFO: MYSQL ERROR 1146: Table 'codx.tagging' doesn't exist [2017-06-17 16:55:16] WARNING: vehicle-system/s_entry.lua [Server] is encoded in ANSI instead of UTF-8. Please convert your file to UTF-8. [2017-06-17 16:55:16] Some files in 'vehicle-system' use deprecated functions. [2017-06-17 16:55:16] Use the 'upgrade' command to perform a basic upgrade of resources. [2017-06-17 16:55:16] WARNING: Script 'vehicle-system/s_entry.lua' is not encoded in UTF-8. Loading as ANSI... [2017-06-17 16:55:16] SCRIPT ERROR: vehicle-system/s_entry.lua:1: unexpected symbol near '?' [2017-06-17 16:55:16] ERROR: Loading script failed: vehicle-system/s_entry.lua:1: unexpected symbol near '?' [2017-06-17 16:55:16] WARNING: File 'typing_icons/Brazil.png' in resource 'donators' is invalid. [2017-06-17 16:55:16] WARNING: File 'typing_icons/Bulgaria.png' in resource 'donators' is invalid. [2017-06-17 16:55:16] WARNING: carshop-system/s_crusher.lua:3: Bad argument @ 'createColCuboid' [Expected vector3 at argument 1, got none] [2017-06-17 16:55:16] WARNING: carshop-system/s_crusher.lua:17: Bad argument @ 'addEventHandler' [Expected element at argument 2, got boolean] [2017-06-17 16:55:16] WARNING: carshop-system/s_crusher.lua:69: Bad argument @ 'addEventHandler' [Expected element at argument 2, got boolean] [2017-06-17 16:55:17] ERROR: Couldn't find resource resource-keeper. Check it exists. [2017-06-17 16:55:17] Server started and is ready to accept connections! [2017-06-17 16:55:17] To stop the server, type 'shutdown' or press Ctrl-C [2017-06-17 16:55:17] Type 'help' for a list of commands. [2017-06-17 16:55:18] Querying MTA master server... success! (Auto detected IP:46.102.116.24) [2017-06-17 16:55:18] WARNING: global/s_account_globals.lua:43: getUserNameFromID(): Unable [2017-06-17 16:55:18] WARNING: global/s_account_globals.lua:43: getUserNameFromID(): Unable [DUP x6] [2017-06-17 16:55:18] ERROR: vehicle-system/s_vehicle_system.lua:283: cannot resume dead coroutine [string "?"] [2017-06-17 16:55:19] ERROR: vehicle-system/s_vehicle_system.lua:283: cannot resume dead coroutine [string "?"] [DUP x2] [2017-06-17 16:55:19] ERROR: ped-system/s_peds.lua:39: cannot resume dead coroutine [string "?"] [2017-06-17 16:55:19] ERROR: ped-system/s_peds.lua:39: cannot resume dead coroutine [string "?"] [DUP x6] [2017-06-17 16:55:19] ERROR: vehicle-system/s_vehicle_system.lua:283: cannot resume dead coroutine [string "?"] [2017-06-17 16:55:20] ERROR: vehicle-system/s_vehicle_system.lua:283: cannot resume dead coroutine [string "?"] [DUP x2] [2017-06-17 16:55:20] ERROR: ped-system/s_peds.lua:39: cannot resume dead coroutine [string "?"] [2017-06-17 16:55:20] ERROR: ped-system/s_peds.lua:39: cannot resume dead coroutine [string "?"] [DUP x6] [2017-06-17 16:55:20] ERROR: vehicle-system/s_vehicle_system.lua:283: cannot resume dead coroutine [string "?"] [2017-06-17 16:55:21] ERROR: vehicle-system/s_vehicle_system.lua:283: cannot resume dead coroutine [string "?"] [DUP x2] [2017-06-17 16:55:21] ERROR: ped-system/s_peds.lua:39: cannot resume dead coroutine [string "?"] [2017-06-17 16:55:27] ERROR: ped-system/s_peds.lua:39: cannot resume dead coroutine [string "?"] [DUP x6]
