Jump to content

explosion [ayuda]


Nicolas ECM

Recommended Posts

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

Link to comment

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 :)

Link to comment

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.

Link to comment
  • Recently Browsing   0 members

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