Jump to content

Mikhail

Members
  • Posts

    36
  • Joined

  • Last visited

Everything posted by Mikhail

  1. Im trying to start up the paradise gamemode, im new in script, and i get this bugs, a scripter said me that is simple to solve, but i need help, anyone can help me? [2018-10-05 14:34:44] Resources: 31 loaded, 0 failed[2018-10-05 14:34:46] MODULE: Loaded "MySQL 5.0 database module" (0.41) by "Alberto Alonso <[email protected]>"[2018-10-05 14:34:46] MODULE: Loaded "SHA Module" (1.02) by "mabako"[2018-10-05 14:34:46] Starting resources......[2018-10-05 14:34:48] Start up of resource irc cancelled by script[2018-10-05 14:34:48] ERROR: Unable to start resource irc; Start up of resource cancelled by script[2018-10-05 14:34:49] ERROR: sql\layout.lua:91: Unable to create table characters[2018-10-05 14:34:49] Start up of resource players cancelled by script[2018-10-05 14:34:49] ERROR: Unable to start resource players; Start up of resource cancelled by script[2018-10-05 14:34:55] ERROR: sql\layout.lua:91: Unable to create table characters[2018-10-05 14:34:55] Start up of resource players cancelled by script[2018-10-05 14:34:59] ERROR: sql\layout.lua:91: Unable to create table characters[2018-10-05 14:34:59] Start up of resource players cancelled by script[2018-10-05 14:35:05] INFO: Loaded 0 maps with 0 objects.[2018-10-05 14:35:08] Start up of resource players cancelled by script[2018-10-05 14:35:13] ERROR: sql\layout.lua:91: Unable to create table characters[2018-10-05 14:35:13] ERROR: sql\layout.lua:91: Unable to create table characters[2018-10-05 14:35:13] Start up of resource players cancelled by script[2018-10-05 14:35:16] ERROR: factions\factions.lua:102: bad argument #1 to 'ipairs' (table expected, got boolean)[2018-10-05 14:35:18] Querying MTA master server... success! (Auto detected IP:181.94.54.171)[2018-10-05 14:35:18] Authorized serial account protection is enabled for the ACL group(s): `Admin` See https://mtasa.com/authserial[2018-10-05 14:35:18] WARNING: <owner_email_address> not set[2018-10-05 14:35:18] Server started and is ready to accept connections![2018-10-05 14:35:18] To stop the server, type 'shutdown' or press Ctrl-C[2018-10-05 14:35:18] Type 'help' for a list of commands.[2018-10-05 14:35:18] _
  2. Hi, I'm starting in the world of scripting, and I have a lot of problems installing RP gamemodes. I already wanted to install paradise rp and when I'm entering it do not start the login resources and others because they seem to be outdated, (it's a gamemode of 2012 approximately) then I want to install one that is easy and that works, at least that can be installed and work updated. Does someone pass me a gamemode?
  3. @Master_MTA oh. ok... im trying to put some more and in the chat dont shows... function marker11 (thePlayer ) if isElementWithinMarker(thePlayer,marker1) then -- checking if player is in a marker destroyElement ( marker1) else outputConsole ( "you should be in the marker to delete it", thePlayer) end end addCommandHandler ( "deletee", marker11) and there are conflicts when I create more than 1 marker and I want to delete them 1 by 1 ... how would the command or the constant to delete all created? this would end the script ..
  4. @Master_MTA ok your script said it: lua:20: unexpected symbol near 'ï' addCommandHandler("deletema", marker11 ) but I rewrote it to: addCommandHandler ( "deletee", marker11) and it worked! but I have a query, could you explain in detail what change you in my script? because obviously you modify something, could you tell me my mistake and what do you modify? So I learn! although I am reading the wiki, we learn from mistakes, and better if you explain it to me ..
  5. how to do it? sorry im new in lua. @Dimos7 Bad argument @ 'isElementWithinMarker' [Expected marker at argument 2, got none] i think the entire destroy function is wrong... is another way to write it?
  6. @Dimos7 Bad argument @ 'isElementWithinMarker' [Expected marker at argument 2, got nil]
  7. I did this function consoleCreateMarker ( thePlayer, commandName ) if ( thePlayer ) then local x, y, z = getElementPosition ( thePlayer ) -- get the player's position -- create a cylindrical marker next to the player: local marker1 = createMarker ( x, y, z - 1, "cylinder", 1.5, 255, 255, 0, 170 ) if ( theMarker ) then -- check if the marker was created successfully outputConsole ( "El marcador se ha creado correctamente", thePlayer ) else outputConsole ( "Failed to create marker", thePlayer ) end end end addCommandHandler ( "createma", consoleCreateMarker ) function marker11 ( marker11 ) if isElementWithinMarker(thePlayer) then -- checking if player is in a marker destroyElement ( marker ) end end addCommandHandler("deletema", marker11 ) (I'm new in scripting) but this gives me this: Bad argument @ 'isElementWithinMarker' [Expected element at argument 1, got nil]
  8. hice esto pero no me funciona, me dice Bad argument @ 'isElementWithinMarker' [Expected element at argument 1, got nil]
  9. Hola, soy nuevo y buscando en la wiki puse este comand Pero como hago un comando para borrar este elemento?
  10. Hola soy nuevo en esto, intente instalar paradise como pude, cree base de datos externa en db4free.com (la primera q encontre si saben de alguna otra forma de hacer base db mejor q esta diganme) primero: nose como instalarlo, entre a la carpeta resources q viene por default en el mta y habia archivos con corchetes, entonces borre esas carpetas y pegue todas las carpetas del resources q venia en el paradise. edite siguiendo un video pero me da estos errores *atencion* si saben de algun gamemode mas nuevo de RP y completo que me puedan pasar, se los agradeceria, pq como veo este sv es bastante viejo.. miren el log
×
×
  • Create New...