Jump to content

Ayuda con esta function


Rankox

Recommended Posts

la function es removeWorldModel. Y Me pide

modelID: A whole integer specifying the GTASA object model ID. 
radius: A floating point number representing the radius that will be eliminated. 
x: A floating point number representing the X coordinate on the map. 
y: A floating point number representing the Y coordinate on the map. 
z: A floating point number representing the Z coordinate on the map. 

el modelID ya se cuales son y las coordenadas son las x,y y z y hay entiendo pero no entiendo que es el radius :?

Quiero eliminar los objetos 18265 y 7885, es que hago una base subterranea y esas serian las entradas :D espero que puedan ayudarme con eso :)

Link to comment
El radio es el tamaño del circulo que se genera desde el punto x, y, z.

Se borrarán los objetos cuyo modelo es el que insertaste en el radio establecido desde x, y, y z

Mira lo puse asi:

removeWorldModel (18265,10000,-2186.97,-2327.48,30.9062) 

Pero no me funciona, puse algo mal?

Link to comment

Te cito lo que dice de la wiki. Está en inglés y te da el porqué.

There are two types of world objects Binary IPL (anything not in data/maps and in gta3.img) and data IPL (anything in data/maps) Binary IPL removal requires a stream out if you are deleting anything within 300 units (anything visible) you can just move the camera to do this. Data IPL are removed instantly and this is not required. Also LOD objects are not removed automatically so you need to remove them separately.
Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...