Nicolas ECM Posted November 10, 2013 Posted November 10, 2013 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
Saml1er Posted November 10, 2013 Posted November 10, 2013 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
Nicolas ECM Posted November 10, 2013 Author Posted November 10, 2013 no me aparece un error de createExplosion
codeluaeveryday Posted November 10, 2013 Posted November 10, 2013 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
tosfera Posted November 10, 2013 Posted November 10, 2013 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.
codeluaeveryday Posted November 11, 2013 Posted November 11, 2013 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.
Recommended Posts