Jump to content

explosion [ayuda]


Nicolas ECM

Recommended Posts

Posted

hola lo que quiero es que cuando coloque un comando me aparesca una explosion serca a mi

function createExplosionCommand (thePlayer, command)  
local x, y, z = getElementPosition ( ) 
createExplosion ( x, y, z, 2 ) 
end 
  
addCommandHandler("explosion", createExplosionCommand) 

ayuda porfavor

Posted

Try this

function createExplosionCommand (thePlayer, command) 
local x, y, z = getElementPosition ( thePlayer ) 
createExplosion ( x, y, z+2 ) 
end 
  
addCommandHandler("explosion", createExplosionCommand) 

thePlayer - the one who executes this command

x,y,z - Coordinates

Posted

Hola,

Yo hablo poco español, y disculpa mi español...

createExplosion argument 3 es el Type:

function createExplosionCommand (thePlayer, command) 
    local x, y, z = getElementPosition ( thePlayer ) 
    createExplosion ( x, y, z+2, 10 ) -- << 10 es theType 
end 
  
addCommandHandler("explosion", createExplosionCommand) 

https://wiki.multitheftauto.com/wiki/CreateExplosion ^^

Adios :)

Posted

Since when did the english section turn into a spanish section...? Well if that's it, time to learn spanish!

Hola anciano!

No oke, sorry. Just post it in this section next time. :)

logo-small.png?v=3 tiny-sapdfr.png

 

If you want to contact me directly concerning Advanced-Gaming, please contact me at [email protected]

Posted

Off-topic: I've been trying really hard to learn spanish, so how was my post? I tried my best, and no I did not use a translator, I used my knowledge, I learn from books and iphone apps, I also learn from other people. Most days I'll sit in my server staring at everyone's spanish chats hoping to understand the nonsense, it's starting to sink through me.

  • Recently Browsing   0 members

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