Jump to content

Mr.Lag

Members
  • Posts

    2
  • Joined

  • Last visited

About Mr.Lag

  • Birthday October 21

Details

  • Location
    Argentina

Recent Profile Visitors

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

Mr.Lag's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  1. Buenas, estoy haciendo un script para crear muchos árboles en todo el mapa de mta ,darle un ColTube y luego darle sus funciones. Para intentar quitarme la complicación de estar repitiendo diezmil veces el createObject, decidí hacer un comando para crearlos y editar un archivo donde guarde la ubicación de todos los arboles. El problema es que en el momento de editar el archivo me añade la ubicación del nuevo árbol pero me borra la de los que ya creé dejándome un solo árbol. Quisiera saber cómo hacer para arreglar ese problema Aquí el script: file = fileOpen("arboles.lua",false) function creador(thePlayer) local x, y, z = getElementPosition(thePlayer) arb = createObject( 773, x -3, y, z-1) if file then fileWrite (file,"createObject(773,"..x -1 ..","..y..","..z -1..")") fileClose(file) end end addCommandHandler("crear",creador)
×
×
  • Create New...