Jump to content

[AYUDA] AttachElements + PlaySound3D


Mixters

Recommended Posts

This is not compatible with all elements. The following elements are compatible:

Markers

Blips

Objects

Players

Vehicles

Sounds

Colshapes

Es posible sin problemas.

Ejemplo de la wiki:

function tankHat ( commandName ) 
      local x, y, z = getElementPosition ( source ) --Get the players position 
      local tank = createVehicle ( 432, x, y, z + 5 ) --Create a tank 
      attachElements ( tank, source, 0, 0, 5 ) --Attach the tank to the player. 
end 
addCommandHandler( "hat", tankHat ) 

Link to comment
  • Recently Browsing   0 members

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