Ryuto Posted September 18, 2016 Share Posted September 18, 2016 Hola gente del forum, como dice el titulo ¿cómo puedo hacer que cuando un jugador use un comando que en este caso es el /chibaku, no lo pueda usar 5 segundos después?, ya que como podrán ver en el lua tiene varios "createExplosion" y si se llegara a usar este comando como un bind seria muy abusivo. no sé si me doy a explicar. Este es mi lua... Spoiler function chibaku (player) setPedAnimation(player, "ped", "arrestgun", false, false, false, false, false) local x, y, z = getElementPosition ( player ) objeto = createObject( 18028, x - 20 , y , z - 5 , 0, 0, 270) mokuton = moveObject ( objeto, 4000, x - 25 , y , z + 20 ) setTimer (destroyElement, 4700, 1, objeto) setTimer (createExplosion,1000,1,x-20,y,z,2) setTimer (createExplosion,1000,1,x-20,y,z,2) setTimer (createExplosion,1100,1,x-20,y,z,2) setTimer (createExplosion,1000,1,x-20,y-4,z,2) setTimer (createExplosion,1000,1,x-20,y-4,z,2) setTimer (createExplosion,1100,1,x-20,y-4,z,2) setTimer (createExplosion,1000,1,x-20,y+4,z,2) setTimer (createExplosion,1000,1,x-20,y+4,z,2) setTimer (createExplosion,1100,1,x-20,y+4,z,2) setTimer (createExplosion,1500,1,x-20,y,z+2,2) setTimer (createExplosion,1500,1,x-20,y,z+2,2) setTimer (createExplosion,1600,1,x-20,y,z+2,2) setTimer (createExplosion,1500,1,x-20,y-4,z+2,2) setTimer (createExplosion,1500,1,x-20,y-4,z+2,2) setTimer (createExplosion,1600,1,x-20,y-4,z+2,2) setTimer (createExplosion,1500,1,x-20,y+4,z+2,2) setTimer (createExplosion,1500,1,x-20,y+4,z+2,2) setTimer (createExplosion,1600,1,x-20,y+4,z+2,2) setTimer (createExplosion,2000,1,x-20,y,z+4,2) setTimer (createExplosion,2000,1,x-20,y,z+4,2) setTimer (createExplosion,2100,1,x-20,y,z+4,2) setTimer (createExplosion,2000,1,x-20,y-4,z+4,2) setTimer (createExplosion,2000,1,x-20,y-4,z+4,2) setTimer (createExplosion,2100,1,x-20,y-4,z+4,2) setTimer (createExplosion,2000,1,x-20,y+4,z+4,2) setTimer (createExplosion,2000,1,x-20,y+4,z+4,2) setTimer (createExplosion,2100,1,x-20,y+4,z+4,2) setTimer (createExplosion,2500,1,x-20,y,z+6,2) setTimer (createExplosion,2500,1,x-20,y,z+6,2) setTimer (createExplosion,2600,1,x-20,y,z+6,2) setTimer (createExplosion,2500,1,x-20,y-4,z+6,2) setTimer (createExplosion,2500,1,x-20,y-4,z+6,2) setTimer (createExplosion,2600,1,x-20,y-4,z+6,2) setTimer (createExplosion,2500,1,x-20,y+4,z+6,2) setTimer (createExplosion,2500,1,x-20,y+4,z+6,2) setTimer (createExplosion,2600,1,x-20,y+4,z+6,2) setTimer (createExplosion,3000,1,x-20,y,z+8,2) setTimer (createExplosion,3000,1,x-20,y,z+8,2) setTimer (createExplosion,3100,1,x-20,y,z+8,2) setTimer (createExplosion,3000,1,x-20,y-4,z+8,2) setTimer (createExplosion,3000,1,x-20,y-4,z+8,2) setTimer (createExplosion,3100,1,x-20,y-4,z+8,2) setTimer (createExplosion,3000,1,x-20,y+4,z+8,2) setTimer (createExplosion,3000,1,x-20,y+4,z+8,2) setTimer (createExplosion,3100,1,x-20,y+4,z+8,2) setTimer (createExplosion,3500,1,x-20,y,z+10,2) setTimer (createExplosion,3500,1,x-20,y,z+10,2) setTimer (createExplosion,3600,1,x-20,y,z+10,2) setTimer (createExplosion,3500,1,x-20,y-4,z+10,2) setTimer (createExplosion,3500,1,x-20,y-4,z+10,2) setTimer (createExplosion,3600,1,x-20,y-4,z+10,2) setTimer (createExplosion,3500,1,x-20,y+4,z+10,2) setTimer (createExplosion,3500,1,x-20,y+4,z+10,2) setTimer (createExplosion,3600,1,x-20,y+4,z+10,2) setTimer (createExplosion,4000,1,x-20,y,z+12,2) setTimer (createExplosion,4000,1,x-20,y,z+12,2) setTimer (createExplosion,4100,1,x-20,y,z+12,2) setTimer (createExplosion,4000,1,x-20,y-4,z+12,2) setTimer (createExplosion,4000,1,x-20,y-4,z+12,2) setTimer (createExplosion,4100,1,x-20,y-4,z+12,2) setTimer (createExplosion,4000,1,x-20,y+4,z+12,2) setTimer (createExplosion,4000,1,x-20,y+4,z+12,2) setTimer (createExplosion,4100,1,x-20,y+4,z+12,2) setTimer (createExplosion,4500,1,x-20,y,z+14,2) setTimer (createExplosion,4500,1,x-20,y,z+14,2) setTimer (createExplosion,4600,1,x-20,y,z+14,2) setTimer (createExplosion,4500,1,x-20,y-4,z+14,2) setTimer (createExplosion,4500,1,x-20,y-4,z+14,2) setTimer (createExplosion,4600,1,x-20,y-4,z+14,2) setTimer (createExplosion,4500,1,x-20,y+4,z+14,2) setTimer (createExplosion,4500,1,x-20,y+4,z+14,2) setTimer (createExplosion,4600,1,x-20,y+4,z+14,2) setTimer (createExplosion,1000,1,x,y-20,z,2) setTimer (createExplosion,1000,1,x,y-20,z,2) setTimer (createExplosion,1100,1,x,y-20,z,2) setTimer (createExplosion,1000,1,x-4,y-20,z,2) setTimer (createExplosion,1000,1,x-4,y-20,z,2) setTimer (createExplosion,1100,1,x-4,y-20,z,2) setTimer (createExplosion,1000,1,x+4,y-20,z,2) setTimer (createExplosion,1000,1,x+4,y-20,z,2) setTimer (createExplosion,1100,1,x+4,y-20,z,2) setTimer (createExplosion,1500,1,x,y-20,z+2,2) setTimer (createExplosion,1500,1,x,y-20,z+2,2) setTimer (createExplosion,1600,1,x,y-20,z+2,2) setTimer (createExplosion,1500,1,x-4,y-20,z+2,2) setTimer (createExplosion,1500,1,x-4,y-20,z+2,2) setTimer (createExplosion,1600,1,x-4,y-20,z+2,2) setTimer (createExplosion,1500,1,x+4,y-20,z+2,2) setTimer (createExplosion,1500,1,x+4,y-20,z+2,2) setTimer (createExplosion,1600,1,x+4,y-20,z+2,2) setTimer (createExplosion,2000,1,x,y-20,z+4,2) setTimer (createExplosion,2000,1,x,y-20,z+4,2) setTimer (createExplosion,2100,1,x,y-20,z+4,2) setTimer (createExplosion,2000,1,x-4,y-20,z+4,2) setTimer (createExplosion,2000,1,x-4,y-20,z+4,2) setTimer (createExplosion,2100,1,x-4,y-20,z+4,2) setTimer (createExplosion,2000,1,x+4,y-20,z+4,2) setTimer (createExplosion,2000,1,x+4,y-20,z+4,2) setTimer (createExplosion,2100,1,x+4,y-20,z+4,2) setTimer (createExplosion,2500,1,x,y-20,z+6,2) setTimer (createExplosion,2500,1,x,y-20,z+6,2) setTimer (createExplosion,2600,1,x,y-20,z+6,2) setTimer (createExplosion,2500,1,x-4,y-20,z+6,2) setTimer (createExplosion,2500,1,x-4,y-20,z+6,2) setTimer (createExplosion,2600,1,x-4,y-20,z+6,2) setTimer (createExplosion,2500,1,x+4,y-20,z+6,2) setTimer (createExplosion,2500,1,x+4,y-20,z+6,2) setTimer (createExplosion,2600,1,x+4,y-20,z+6,2) setTimer (createExplosion,3000,1,x,y-20,z+8,2) setTimer (createExplosion,3000,1,x,y-20,z+8,2) setTimer (createExplosion,3100,1,x,y-20,z+8,2) setTimer (createExplosion,3000,1,x-4,y-20,z+8,2) setTimer (createExplosion,3000,1,x-4,y-20,z+8,2) setTimer (createExplosion,3100,1,x-4,y-20,z+8,2) setTimer (createExplosion,3000,1,x+4,y-20,z+8,2) setTimer (createExplosion,3000,1,x+4,y-20,z+8,2) setTimer (createExplosion,3100,1,x+4,y-20,z+8,2) setTimer (createExplosion,3500,1,x,y-20,z+10,2) setTimer (createExplosion,3500,1,x,y-20,z+10,2) setTimer (createExplosion,3600,1,x,y-20,z+10,2) setTimer (createExplosion,3500,1,x-4,y-20,z+10,2) setTimer (createExplosion,3500,1,x-4,y-20,z+10,2) setTimer (createExplosion,3600,1,x-4,y-20,z+10,2) setTimer (createExplosion,3500,1,x+4,y-20,z+10,2) setTimer (createExplosion,3500,1,x+4,y-20,z+10,2) setTimer (createExplosion,3600,1,x+4,y-20,z+10,2) setTimer (createExplosion,4000,1,x,y-20,z+12,2) setTimer (createExplosion,4000,1,x,y-20,z+12,2) setTimer (createExplosion,4100,1,x,y-20,z+12,2) setTimer (createExplosion,4000,1,x-4,y-20,z+12,2) setTimer (createExplosion,4000,1,x-4,y-20,z+12,2) setTimer (createExplosion,4100,1,x-4,y-20,z+12,2) setTimer (createExplosion,4000,1,x+4,y-20,z+12,2) setTimer (createExplosion,4000,1,x+4,y-20,z+12,2) setTimer (createExplosion,4100,1,x+4,y-20,z+12,2) setTimer (createExplosion,4500,1,x,y-20,z+14,2) setTimer (createExplosion,4500,1,x,y-20,z+14,2) setTimer (createExplosion,4600,1,x,y-20,z+14,2) setTimer (createExplosion,4500,1,x-4,y-20,z+14,2) setTimer (createExplosion,4500,1,x-4,y-20,z+14,2) setTimer (createExplosion,4600,1,x-4,y-20,z+14,2) setTimer (createExplosion,4500,1,x+4,y-20,z+14,2) setTimer (createExplosion,4500,1,x+4,y-20,z+14,2) setTimer (createExplosion,4600,1,x+4,y-20,z+14,2) objeto2 = createObject( 18028, x + 20 , y , z - 5 , 0, 0, 270) mokuton = moveObject ( objeto2, 4000, x + 25 , y , z + 20 ) setTimer (destroyElement, 4700, 1, objeto2) setTimer (createExplosion,1000,1,x+20,y,z,2) setTimer (createExplosion,1000,1,x+20,y,z,2) setTimer (createExplosion,1100,1,x+20,y,z,2) setTimer (createExplosion,1000,1,x+20,y-4,z,2) setTimer (createExplosion,1000,1,x+20,y-4,z,2) setTimer (createExplosion,1100,1,x+20,y-4,z,2) setTimer (createExplosion,1000,1,x+20,y+4,z,2) setTimer (createExplosion,1000,1,x+20,y+4,z,2) setTimer (createExplosion,1100,1,x+20,y+4,z,2) setTimer (createExplosion,1500,1,x+20,y,z+2,2) setTimer (createExplosion,1500,1,x+20,y,z+2,2) setTimer (createExplosion,1600,1,x+20,y,z+2,2) setTimer (createExplosion,1500,1,x+20,y-4,z+2,2) setTimer (createExplosion,1500,1,x+20,y-4,z+2,2) setTimer (createExplosion,1600,1,x+20,y-4,z+2,2) setTimer (createExplosion,1500,1,x+20,y+4,z+2,2) setTimer (createExplosion,1500,1,x+20,y+4,z+2,2) setTimer (createExplosion,1600,1,x+20,y+4,z+2,2) setTimer (createExplosion,2000,1,x+20,y,z+4,2) setTimer (createExplosion,2000,1,x+20,y,z+4,2) setTimer (createExplosion,2100,1,x+20,y,z+4,2) setTimer (createExplosion,2000,1,x+20,y-4,z+4,2) setTimer (createExplosion,2000,1,x+20,y-4,z+4,2) setTimer (createExplosion,2100,1,x+20,y-4,z+4,2) setTimer (createExplosion,2000,1,x+20,y+4,z+4,2) setTimer (createExplosion,2000,1,x+20,y+4,z+4,2) setTimer (createExplosion,2100,1,x+20,y+4,z+4,2) setTimer (createExplosion,2500,1,x-20,y,z+6,2) setTimer (createExplosion,2500,1,x-20,y,z+6,2) setTimer (createExplosion,2600,1,x-20,y,z+6,2) setTimer (createExplosion,2500,1,x-20,y-4,z+6,2) setTimer (createExplosion,2500,1,x-20,y-4,z+6,2) setTimer (createExplosion,2600,1,x-20,y-4,z+6,2) setTimer (createExplosion,2500,1,x-20,y+4,z+6,2) setTimer (createExplosion,2500,1,x-20,y+4,z+6,2) setTimer (createExplosion,2600,1,x-20,y+4,z+6,2) setTimer (createExplosion,3000,1,x+20,y,z+8,2) setTimer (createExplosion,3000,1,x+20,y,z+8,2) setTimer (createExplosion,3100,1,x+20,y,z+8,2) setTimer (createExplosion,3000,1,x+20,y-4,z+8,2) setTimer (createExplosion,3000,1,x+20,y-4,z+8,2) setTimer (createExplosion,3100,1,x+20,y-4,z+8,2) setTimer (createExplosion,3000,1,x+20,y+4,z+8,2) setTimer (createExplosion,3000,1,x+20,y+4,z+8,2) setTimer (createExplosion,3100,1,x+20,y+4,z+8,2) setTimer (createExplosion,3500,1,x+20,y,z+10,2) setTimer (createExplosion,3500,1,x+20,y,z+10,2) setTimer (createExplosion,3600,1,x+20,y,z+10,2) setTimer (createExplosion,3500,1,x+20,y-4,z+10,2) setTimer (createExplosion,3500,1,x+20,y-4,z+10,2) setTimer (createExplosion,3600,1,x+20,y-4,z+10,2) setTimer (createExplosion,3500,1,x+20,y+4,z+10,2) setTimer (createExplosion,3500,1,x+20,y+4,z+10,2) setTimer (createExplosion,3600,1,x+20,y+4,z+10,2) setTimer (createExplosion,4000,1,x+20,y,z+12,2) setTimer (createExplosion,4000,1,x+20,y,z+12,2) setTimer (createExplosion,4100,1,x+20,y,z+12,2) setTimer (createExplosion,4000,1,x+20,y-4,z+12,2) setTimer (createExplosion,4000,1,x+20,y-4,z+12,2) setTimer (createExplosion,4100,1,x+20,y-4,z+12,2) setTimer (createExplosion,4000,1,x+20,y+4,z+12,2) setTimer (createExplosion,4000,1,x+20,y+4,z+12,2) setTimer (createExplosion,4100,1,x+20,y+4,z+12,2) setTimer (createExplosion,4500,1,x+20,y,z+14,2) setTimer (createExplosion,4500,1,x+20,y,z+14,2) setTimer (createExplosion,4600,1,x+20,y,z+14,2) setTimer (createExplosion,4500,1,x+20,y-4,z+14,2) setTimer (createExplosion,4500,1,x+20,y-4,z+14,2) setTimer (createExplosion,4600,1,x+20,y-4,z+14,2) setTimer (createExplosion,4500,1,x+20,y+4,z+14,2) setTimer (createExplosion,4500,1,x+20,y+4,z+14,2) setTimer (createExplosion,4600,1,x+20,y+4,z+14,2) objeto3 = createObject( 18028, x , y + 20 , z - 5 , 0, 0, 270) mokuton = moveObject ( objeto3, 4000, x , y + 25 , z + 20 ) setTimer (destroyElement, 4700, 1, objeto3) setTimer (createExplosion,1000,1,x,y+20,z,2) setTimer (createExplosion,1000,1,x,y+20,z,2) setTimer (createExplosion,1100,1,x,y+20,z,2) setTimer (createExplosion,1000,1,x-4,y+20,z,2) setTimer (createExplosion,1000,1,x-4,y+20,z,2) setTimer (createExplosion,1100,1,x-4,y+20,z,2) setTimer (createExplosion,1000,1,x+4,y+20,z,2) setTimer (createExplosion,1000,1,x+4,y+20,z,2) setTimer (createExplosion,1100,1,x+4,y+20,z,2) setTimer (createExplosion,1500,1,x,y+20,z+2,2) setTimer (createExplosion,1500,1,x,y+20,z+2,2) setTimer (createExplosion,1600,1,x,y+20,z+2,2) setTimer (createExplosion,1500,1,x-4,y+20,z+2,2) setTimer (createExplosion,1500,1,x-4,y+20,z+2,2) setTimer (createExplosion,1600,1,x-4,y+20,z+2,2) setTimer (createExplosion,1500,1,x+4,y+20,z+2,2) setTimer (createExplosion,1500,1,x+4,y+20,z+2,2) setTimer (createExplosion,1600,1,x+4,y+20,z+2,2) setTimer (createExplosion,2000,1,x,y+20,z+4,2) setTimer (createExplosion,2000,1,x,y+20,z+4,2) setTimer (createExplosion,2100,1,x,y+20,z+4,2) setTimer (createExplosion,2000,1,x-4,y+20,z+4,2) setTimer (createExplosion,2000,1,x-4,y+20,z+4,2) setTimer (createExplosion,2100,1,x-4,y+20,z+4,2) setTimer (createExplosion,2000,1,x+4,y+20,z+4,2) setTimer (createExplosion,2000,1,x+4,y+20,z+4,2) setTimer (createExplosion,2100,1,x+4,y+20,z+4,2) setTimer (createExplosion,2500,1,x,y+20,z+6,2) setTimer (createExplosion,2500,1,x,y+20,z+6,2) setTimer (createExplosion,2600,1,x,y+20,z+6,2) setTimer (createExplosion,2500,1,x-4,y+20,z+6,2) setTimer (createExplosion,2500,1,x-4,y+20,z+6,2) setTimer (createExplosion,2600,1,x-4,y+20,z+6,2) setTimer (createExplosion,2500,1,x+4,y+20,z+6,2) setTimer (createExplosion,2500,1,x+4,y+20,z+6,2) setTimer (createExplosion,2600,1,x+4,y+20,z+6,2) setTimer (createExplosion,3000,1,x,y+20,z+8,2) setTimer (createExplosion,3000,1,x,y+20,z+8,2) setTimer (createExplosion,3100,1,x,y+20,z+8,2) setTimer (createExplosion,3000,1,x-4,y+20,z+8,2) setTimer (createExplosion,3000,1,x-4,y+20,z+8,2) setTimer (createExplosion,3100,1,x-4,y+20,z+8,2) setTimer (createExplosion,3000,1,x+4,y+20,z+8,2) setTimer (createExplosion,3000,1,x+4,y+20,z+8,2) setTimer (createExplosion,3100,1,x+4,y+20,z+8,2) setTimer (createExplosion,3500,1,x,y+20,z+10,2) setTimer (createExplosion,3500,1,x,y+20,z+10,2) setTimer (createExplosion,3600,1,x,y+20,z+10,2) setTimer (createExplosion,3500,1,x-4,y+20,z+10,2) setTimer (createExplosion,3500,1,x-4,y+20,z+10,2) setTimer (createExplosion,3600,1,x-4,y+20,z+10,2) setTimer (createExplosion,3500,1,x+4,y+20,z+10,2) setTimer (createExplosion,3500,1,x+4,y+20,z+10,2) setTimer (createExplosion,3600,1,x+4,y+20,z+10,2) setTimer (createExplosion,4000,1,x,y+20,z+12,2) setTimer (createExplosion,4000,1,x,y+20,z+12,2) setTimer (createExplosion,4100,1,x,y+20,z+12,2) setTimer (createExplosion,4000,1,x-4,y+20,z+12,2) setTimer (createExplosion,4000,1,x-4,y+20,z+12,2) setTimer (createExplosion,4100,1,x-4,y+20,z+12,2) setTimer (createExplosion,4000,1,x+4,y+20,z+12,2) setTimer (createExplosion,4000,1,x+4,y+20,z+12,2) setTimer (createExplosion,4100,1,x+4,y+20,z+12,2) setTimer (createExplosion,4500,1,x,y+20,z+14,2) setTimer (createExplosion,4500,1,x,y+20,z+14,2) setTimer (createExplosion,4600,1,x,y+20,z+14,2) setTimer (createExplosion,4500,1,x-4,y+20,z+14,2) setTimer (createExplosion,4500,1,x-4,y+20,z+14,2) setTimer (createExplosion,4600,1,x-4,y+20,z+14,2) setTimer (createExplosion,4500,1,x+4,y+20,z+14,2) setTimer (createExplosion,4500,1,x+4,y+20,z+14,2) setTimer (createExplosion,4600,1,x+4,y+20,z+14,2) triggerClientEvent("CreateNinjaSound",player,player,"ChibakuSas.mp3") end addCommandHandler ("chibaku", chibaku) Gracias por su atención Link to comment
EstrategiaGTA Posted September 18, 2016 Share Posted September 18, 2016 Usa tablas, por ejemplo: usersProhibidos = { } Después ve añadiendo players cuando usen el comando, y no les dejes volver a usarlo. Usa setTimer por 5 segundos para borrarlos de la tabla. Link to comment
Ryuto Posted September 18, 2016 Author Share Posted September 18, 2016 1 hour ago, EstrategiaGTA said: Usa tablas, por ejemplo: usersProhibidos = { } Después ve añadiendo players cuando usen el comando, y no les dejes volver a usarlo. Usa setTimer por 5 segundos para borrarlos de la tabla. Disculpe, error mio cuando dije "un jugador", quise decir todos los jugadores. Lo que me refiero es que cuando se use el comando /chibaku, aparezca un mensaje diciendo "No puedes volver a utilizar el comando, espera 5 segundos", y luego de esos cinco segundos el comando se vuelva a habilitar. Link to comment
Anzo Posted September 19, 2016 Share Posted September 19, 2016 (edited) Tienes que hacer una variable global y de valor le pones 0, luego dentro de la función usar un if getTickCount() - time < 5000 then (el time es el nombre de la variable, si le pusiste 'h' ponle 'h' y ya :v) Edited September 19, 2016 by Anzo Link to comment
aka Blue Posted September 19, 2016 Share Posted September 19, 2016 local timer addCommandHandler( "comando", function( player ) if timer == nil then outputDebugString( "Has usado el comando, se activa un timer de 5 segundos" ) timer = setTimer( function( ) outputDebugString( "Ya puedes usar el comando de nuevo" ) timer = nil end, 5000, 1 ) else outputDebugString( "No puedes usar el comando ahora" ) end end ) 1 Link to comment
Arsilex Posted September 19, 2016 Share Posted September 19, 2016 local timer = getTickCount() - 5000 addCommandHandler( "comando", function( player ) if getTickCount() - timer > 5000 then setPedAnimation(player, "ped", "arrestgun", false, false, false, false, false) local x, y, z = getElementPosition ( player ) objeto = createObject( 18028, x - 20 , y , z - 5 , 0, 0, 270) mokuton = moveObject ( objeto, 4000, x - 25 , y , z + 20 ) setTimer (destroyElement, 4700, 1, objeto) setTimer (createExplosion,1000,1,x-20,y,z,2) setTimer (createExplosion,1000,1,x-20,y,z,2) setTimer (createExplosion,1100,1,x-20,y,z,2) setTimer (createExplosion,1000,1,x-20,y-4,z,2) setTimer (createExplosion,1000,1,x-20,y-4,z,2) setTimer (createExplosion,1100,1,x-20,y-4,z,2) setTimer (createExplosion,1000,1,x-20,y+4,z,2) setTimer (createExplosion,1000,1,x-20,y+4,z,2) setTimer (createExplosion,1100,1,x-20,y+4,z,2) setTimer (createExplosion,1500,1,x-20,y,z+2,2) setTimer (createExplosion,1500,1,x-20,y,z+2,2) setTimer (createExplosion,1600,1,x-20,y,z+2,2) setTimer (createExplosion,1500,1,x-20,y-4,z+2,2) setTimer (createExplosion,1500,1,x-20,y-4,z+2,2) setTimer (createExplosion,1600,1,x-20,y-4,z+2,2) setTimer (createExplosion,1500,1,x-20,y+4,z+2,2) setTimer (createExplosion,1500,1,x-20,y+4,z+2,2) setTimer (createExplosion,1600,1,x-20,y+4,z+2,2) setTimer (createExplosion,2000,1,x-20,y,z+4,2) setTimer (createExplosion,2000,1,x-20,y,z+4,2) setTimer (createExplosion,2100,1,x-20,y,z+4,2) setTimer (createExplosion,2000,1,x-20,y-4,z+4,2) setTimer (createExplosion,2000,1,x-20,y-4,z+4,2) setTimer (createExplosion,2100,1,x-20,y-4,z+4,2) setTimer (createExplosion,2000,1,x-20,y+4,z+4,2) setTimer (createExplosion,2000,1,x-20,y+4,z+4,2) setTimer (createExplosion,2100,1,x-20,y+4,z+4,2) setTimer (createExplosion,2500,1,x-20,y,z+6,2) setTimer (createExplosion,2500,1,x-20,y,z+6,2) setTimer (createExplosion,2600,1,x-20,y,z+6,2) setTimer (createExplosion,2500,1,x-20,y-4,z+6,2) setTimer (createExplosion,2500,1,x-20,y-4,z+6,2) setTimer (createExplosion,2600,1,x-20,y-4,z+6,2) setTimer (createExplosion,2500,1,x-20,y+4,z+6,2) setTimer (createExplosion,2500,1,x-20,y+4,z+6,2) setTimer (createExplosion,2600,1,x-20,y+4,z+6,2) setTimer (createExplosion,3000,1,x-20,y,z+8,2) setTimer (createExplosion,3000,1,x-20,y,z+8,2) setTimer (createExplosion,3100,1,x-20,y,z+8,2) setTimer (createExplosion,3000,1,x-20,y-4,z+8,2) setTimer (createExplosion,3000,1,x-20,y-4,z+8,2) setTimer (createExplosion,3100,1,x-20,y-4,z+8,2) setTimer (createExplosion,3000,1,x-20,y+4,z+8,2) setTimer (createExplosion,3000,1,x-20,y+4,z+8,2) setTimer (createExplosion,3100,1,x-20,y+4,z+8,2) setTimer (createExplosion,3500,1,x-20,y,z+10,2) setTimer (createExplosion,3500,1,x-20,y,z+10,2) setTimer (createExplosion,3600,1,x-20,y,z+10,2) setTimer (createExplosion,3500,1,x-20,y-4,z+10,2) setTimer (createExplosion,3500,1,x-20,y-4,z+10,2) setTimer (createExplosion,3600,1,x-20,y-4,z+10,2) setTimer (createExplosion,3500,1,x-20,y+4,z+10,2) setTimer (createExplosion,3500,1,x-20,y+4,z+10,2) setTimer (createExplosion,3600,1,x-20,y+4,z+10,2) setTimer (createExplosion,4000,1,x-20,y,z+12,2) setTimer (createExplosion,4000,1,x-20,y,z+12,2) setTimer (createExplosion,4100,1,x-20,y,z+12,2) setTimer (createExplosion,4000,1,x-20,y-4,z+12,2) setTimer (createExplosion,4000,1,x-20,y-4,z+12,2) setTimer (createExplosion,4100,1,x-20,y-4,z+12,2) setTimer (createExplosion,4000,1,x-20,y+4,z+12,2) setTimer (createExplosion,4000,1,x-20,y+4,z+12,2) setTimer (createExplosion,4100,1,x-20,y+4,z+12,2) setTimer (createExplosion,4500,1,x-20,y,z+14,2) setTimer (createExplosion,4500,1,x-20,y,z+14,2) setTimer (createExplosion,4600,1,x-20,y,z+14,2) setTimer (createExplosion,4500,1,x-20,y-4,z+14,2) setTimer (createExplosion,4500,1,x-20,y-4,z+14,2) setTimer (createExplosion,4600,1,x-20,y-4,z+14,2) setTimer (createExplosion,4500,1,x-20,y+4,z+14,2) setTimer (createExplosion,4500,1,x-20,y+4,z+14,2) setTimer (createExplosion,4600,1,x-20,y+4,z+14,2) setTimer (createExplosion,1000,1,x,y-20,z,2) setTimer (createExplosion,1000,1,x,y-20,z,2) setTimer (createExplosion,1100,1,x,y-20,z,2) setTimer (createExplosion,1000,1,x-4,y-20,z,2) setTimer (createExplosion,1000,1,x-4,y-20,z,2) setTimer (createExplosion,1100,1,x-4,y-20,z,2) setTimer (createExplosion,1000,1,x+4,y-20,z,2) setTimer (createExplosion,1000,1,x+4,y-20,z,2) setTimer (createExplosion,1100,1,x+4,y-20,z,2) setTimer (createExplosion,1500,1,x,y-20,z+2,2) setTimer (createExplosion,1500,1,x,y-20,z+2,2) setTimer (createExplosion,1600,1,x,y-20,z+2,2) setTimer (createExplosion,1500,1,x-4,y-20,z+2,2) setTimer (createExplosion,1500,1,x-4,y-20,z+2,2) setTimer (createExplosion,1600,1,x-4,y-20,z+2,2) setTimer (createExplosion,1500,1,x+4,y-20,z+2,2) setTimer (createExplosion,1500,1,x+4,y-20,z+2,2) setTimer (createExplosion,1600,1,x+4,y-20,z+2,2) setTimer (createExplosion,2000,1,x,y-20,z+4,2) setTimer (createExplosion,2000,1,x,y-20,z+4,2) setTimer (createExplosion,2100,1,x,y-20,z+4,2) setTimer (createExplosion,2000,1,x-4,y-20,z+4,2) setTimer (createExplosion,2000,1,x-4,y-20,z+4,2) setTimer (createExplosion,2100,1,x-4,y-20,z+4,2) setTimer (createExplosion,2000,1,x+4,y-20,z+4,2) setTimer (createExplosion,2000,1,x+4,y-20,z+4,2) setTimer (createExplosion,2100,1,x+4,y-20,z+4,2) setTimer (createExplosion,2500,1,x,y-20,z+6,2) setTimer (createExplosion,2500,1,x,y-20,z+6,2) setTimer (createExplosion,2600,1,x,y-20,z+6,2) setTimer (createExplosion,2500,1,x-4,y-20,z+6,2) setTimer (createExplosion,2500,1,x-4,y-20,z+6,2) setTimer (createExplosion,2600,1,x-4,y-20,z+6,2) setTimer (createExplosion,2500,1,x+4,y-20,z+6,2) setTimer (createExplosion,2500,1,x+4,y-20,z+6,2) setTimer (createExplosion,2600,1,x+4,y-20,z+6,2) setTimer (createExplosion,3000,1,x,y-20,z+8,2) setTimer (createExplosion,3000,1,x,y-20,z+8,2) setTimer (createExplosion,3100,1,x,y-20,z+8,2) setTimer (createExplosion,3000,1,x-4,y-20,z+8,2) setTimer (createExplosion,3000,1,x-4,y-20,z+8,2) setTimer (createExplosion,3100,1,x-4,y-20,z+8,2) setTimer (createExplosion,3000,1,x+4,y-20,z+8,2) setTimer (createExplosion,3000,1,x+4,y-20,z+8,2) setTimer (createExplosion,3100,1,x+4,y-20,z+8,2) setTimer (createExplosion,3500,1,x,y-20,z+10,2) setTimer (createExplosion,3500,1,x,y-20,z+10,2) setTimer (createExplosion,3600,1,x,y-20,z+10,2) setTimer (createExplosion,3500,1,x-4,y-20,z+10,2) setTimer (createExplosion,3500,1,x-4,y-20,z+10,2) setTimer (createExplosion,3600,1,x-4,y-20,z+10,2) setTimer (createExplosion,3500,1,x+4,y-20,z+10,2) setTimer (createExplosion,3500,1,x+4,y-20,z+10,2) setTimer (createExplosion,3600,1,x+4,y-20,z+10,2) setTimer (createExplosion,4000,1,x,y-20,z+12,2) setTimer (createExplosion,4000,1,x,y-20,z+12,2) setTimer (createExplosion,4100,1,x,y-20,z+12,2) setTimer (createExplosion,4000,1,x-4,y-20,z+12,2) setTimer (createExplosion,4000,1,x-4,y-20,z+12,2) setTimer (createExplosion,4100,1,x-4,y-20,z+12,2) setTimer (createExplosion,4000,1,x+4,y-20,z+12,2) setTimer (createExplosion,4000,1,x+4,y-20,z+12,2) setTimer (createExplosion,4100,1,x+4,y-20,z+12,2) setTimer (createExplosion,4500,1,x,y-20,z+14,2) setTimer (createExplosion,4500,1,x,y-20,z+14,2) setTimer (createExplosion,4600,1,x,y-20,z+14,2) setTimer (createExplosion,4500,1,x-4,y-20,z+14,2) setTimer (createExplosion,4500,1,x-4,y-20,z+14,2) setTimer (createExplosion,4600,1,x-4,y-20,z+14,2) setTimer (createExplosion,4500,1,x+4,y-20,z+14,2) setTimer (createExplosion,4500,1,x+4,y-20,z+14,2) setTimer (createExplosion,4600,1,x+4,y-20,z+14,2) objeto2 = createObject( 18028, x + 20 , y , z - 5 , 0, 0, 270) mokuton = moveObject ( objeto2, 4000, x + 25 , y , z + 20 ) setTimer (destroyElement, 4700, 1, objeto2) setTimer (createExplosion,1000,1,x+20,y,z,2) setTimer (createExplosion,1000,1,x+20,y,z,2) setTimer (createExplosion,1100,1,x+20,y,z,2) setTimer (createExplosion,1000,1,x+20,y-4,z,2) setTimer (createExplosion,1000,1,x+20,y-4,z,2) setTimer (createExplosion,1100,1,x+20,y-4,z,2) setTimer (createExplosion,1000,1,x+20,y+4,z,2) setTimer (createExplosion,1000,1,x+20,y+4,z,2) setTimer (createExplosion,1100,1,x+20,y+4,z,2) setTimer (createExplosion,1500,1,x+20,y,z+2,2) setTimer (createExplosion,1500,1,x+20,y,z+2,2) setTimer (createExplosion,1600,1,x+20,y,z+2,2) setTimer (createExplosion,1500,1,x+20,y-4,z+2,2) setTimer (createExplosion,1500,1,x+20,y-4,z+2,2) setTimer (createExplosion,1600,1,x+20,y-4,z+2,2) setTimer (createExplosion,1500,1,x+20,y+4,z+2,2) setTimer (createExplosion,1500,1,x+20,y+4,z+2,2) setTimer (createExplosion,1600,1,x+20,y+4,z+2,2) setTimer (createExplosion,2000,1,x+20,y,z+4,2) setTimer (createExplosion,2000,1,x+20,y,z+4,2) setTimer (createExplosion,2100,1,x+20,y,z+4,2) setTimer (createExplosion,2000,1,x+20,y-4,z+4,2) setTimer (createExplosion,2000,1,x+20,y-4,z+4,2) setTimer (createExplosion,2100,1,x+20,y-4,z+4,2) setTimer (createExplosion,2000,1,x+20,y+4,z+4,2) setTimer (createExplosion,2000,1,x+20,y+4,z+4,2) setTimer (createExplosion,2100,1,x+20,y+4,z+4,2) setTimer (createExplosion,2500,1,x-20,y,z+6,2) setTimer (createExplosion,2500,1,x-20,y,z+6,2) setTimer (createExplosion,2600,1,x-20,y,z+6,2) setTimer (createExplosion,2500,1,x-20,y-4,z+6,2) setTimer (createExplosion,2500,1,x-20,y-4,z+6,2) setTimer (createExplosion,2600,1,x-20,y-4,z+6,2) setTimer (createExplosion,2500,1,x-20,y+4,z+6,2) setTimer (createExplosion,2500,1,x-20,y+4,z+6,2) setTimer (createExplosion,2600,1,x-20,y+4,z+6,2) setTimer (createExplosion,3000,1,x+20,y,z+8,2) setTimer (createExplosion,3000,1,x+20,y,z+8,2) setTimer (createExplosion,3100,1,x+20,y,z+8,2) setTimer (createExplosion,3000,1,x+20,y-4,z+8,2) setTimer (createExplosion,3000,1,x+20,y-4,z+8,2) setTimer (createExplosion,3100,1,x+20,y-4,z+8,2) setTimer (createExplosion,3000,1,x+20,y+4,z+8,2) setTimer (createExplosion,3000,1,x+20,y+4,z+8,2) setTimer (createExplosion,3100,1,x+20,y+4,z+8,2) setTimer (createExplosion,3500,1,x+20,y,z+10,2) setTimer (createExplosion,3500,1,x+20,y,z+10,2) setTimer (createExplosion,3600,1,x+20,y,z+10,2) setTimer (createExplosion,3500,1,x+20,y-4,z+10,2) setTimer (createExplosion,3500,1,x+20,y-4,z+10,2) setTimer (createExplosion,3600,1,x+20,y-4,z+10,2) setTimer (createExplosion,3500,1,x+20,y+4,z+10,2) setTimer (createExplosion,3500,1,x+20,y+4,z+10,2) setTimer (createExplosion,3600,1,x+20,y+4,z+10,2) setTimer (createExplosion,4000,1,x+20,y,z+12,2) setTimer (createExplosion,4000,1,x+20,y,z+12,2) setTimer (createExplosion,4100,1,x+20,y,z+12,2) setTimer (createExplosion,4000,1,x+20,y-4,z+12,2) setTimer (createExplosion,4000,1,x+20,y-4,z+12,2) setTimer (createExplosion,4100,1,x+20,y-4,z+12,2) setTimer (createExplosion,4000,1,x+20,y+4,z+12,2) setTimer (createExplosion,4000,1,x+20,y+4,z+12,2) setTimer (createExplosion,4100,1,x+20,y+4,z+12,2) setTimer (createExplosion,4500,1,x+20,y,z+14,2) setTimer (createExplosion,4500,1,x+20,y,z+14,2) setTimer (createExplosion,4600,1,x+20,y,z+14,2) setTimer (createExplosion,4500,1,x+20,y-4,z+14,2) setTimer (createExplosion,4500,1,x+20,y-4,z+14,2) setTimer (createExplosion,4600,1,x+20,y-4,z+14,2) setTimer (createExplosion,4500,1,x+20,y+4,z+14,2) setTimer (createExplosion,4500,1,x+20,y+4,z+14,2) setTimer (createExplosion,4600,1,x+20,y+4,z+14,2) objeto3 = createObject( 18028, x , y + 20 , z - 5 , 0, 0, 270) mokuton = moveObject ( objeto3, 4000, x , y + 25 , z + 20 ) setTimer (destroyElement, 4700, 1, objeto3) setTimer (createExplosion,1000,1,x,y+20,z,2) setTimer (createExplosion,1000,1,x,y+20,z,2) setTimer (createExplosion,1100,1,x,y+20,z,2) setTimer (createExplosion,1000,1,x-4,y+20,z,2) setTimer (createExplosion,1000,1,x-4,y+20,z,2) setTimer (createExplosion,1100,1,x-4,y+20,z,2) setTimer (createExplosion,1000,1,x+4,y+20,z,2) setTimer (createExplosion,1000,1,x+4,y+20,z,2) setTimer (createExplosion,1100,1,x+4,y+20,z,2) setTimer (createExplosion,1500,1,x,y+20,z+2,2) setTimer (createExplosion,1500,1,x,y+20,z+2,2) setTimer (createExplosion,1600,1,x,y+20,z+2,2) setTimer (createExplosion,1500,1,x-4,y+20,z+2,2) setTimer (createExplosion,1500,1,x-4,y+20,z+2,2) setTimer (createExplosion,1600,1,x-4,y+20,z+2,2) setTimer (createExplosion,1500,1,x+4,y+20,z+2,2) setTimer (createExplosion,1500,1,x+4,y+20,z+2,2) setTimer (createExplosion,1600,1,x+4,y+20,z+2,2) setTimer (createExplosion,2000,1,x,y+20,z+4,2) setTimer (createExplosion,2000,1,x,y+20,z+4,2) setTimer (createExplosion,2100,1,x,y+20,z+4,2) setTimer (createExplosion,2000,1,x-4,y+20,z+4,2) setTimer (createExplosion,2000,1,x-4,y+20,z+4,2) setTimer (createExplosion,2100,1,x-4,y+20,z+4,2) setTimer (createExplosion,2000,1,x+4,y+20,z+4,2) setTimer (createExplosion,2000,1,x+4,y+20,z+4,2) setTimer (createExplosion,2100,1,x+4,y+20,z+4,2) setTimer (createExplosion,2500,1,x,y+20,z+6,2) setTimer (createExplosion,2500,1,x,y+20,z+6,2) setTimer (createExplosion,2600,1,x,y+20,z+6,2) setTimer (createExplosion,2500,1,x-4,y+20,z+6,2) setTimer (createExplosion,2500,1,x-4,y+20,z+6,2) setTimer (createExplosion,2600,1,x-4,y+20,z+6,2) setTimer (createExplosion,2500,1,x+4,y+20,z+6,2) setTimer (createExplosion,2500,1,x+4,y+20,z+6,2) setTimer (createExplosion,2600,1,x+4,y+20,z+6,2) setTimer (createExplosion,3000,1,x,y+20,z+8,2) setTimer (createExplosion,3000,1,x,y+20,z+8,2) setTimer (createExplosion,3100,1,x,y+20,z+8,2) setTimer (createExplosion,3000,1,x-4,y+20,z+8,2) setTimer (createExplosion,3000,1,x-4,y+20,z+8,2) setTimer (createExplosion,3100,1,x-4,y+20,z+8,2) setTimer (createExplosion,3000,1,x+4,y+20,z+8,2) setTimer (createExplosion,3000,1,x+4,y+20,z+8,2) setTimer (createExplosion,3100,1,x+4,y+20,z+8,2) setTimer (createExplosion,3500,1,x,y+20,z+10,2) setTimer (createExplosion,3500,1,x,y+20,z+10,2) setTimer (createExplosion,3600,1,x,y+20,z+10,2) setTimer (createExplosion,3500,1,x-4,y+20,z+10,2) setTimer (createExplosion,3500,1,x-4,y+20,z+10,2) setTimer (createExplosion,3600,1,x-4,y+20,z+10,2) setTimer (createExplosion,3500,1,x+4,y+20,z+10,2) setTimer (createExplosion,3500,1,x+4,y+20,z+10,2) setTimer (createExplosion,3600,1,x+4,y+20,z+10,2) setTimer (createExplosion,4000,1,x,y+20,z+12,2) setTimer (createExplosion,4000,1,x,y+20,z+12,2) setTimer (createExplosion,4100,1,x,y+20,z+12,2) setTimer (createExplosion,4000,1,x-4,y+20,z+12,2) setTimer (createExplosion,4000,1,x-4,y+20,z+12,2) setTimer (createExplosion,4100,1,x-4,y+20,z+12,2) setTimer (createExplosion,4000,1,x+4,y+20,z+12,2) setTimer (createExplosion,4000,1,x+4,y+20,z+12,2) setTimer (createExplosion,4100,1,x+4,y+20,z+12,2) setTimer (createExplosion,4500,1,x,y+20,z+14,2) setTimer (createExplosion,4500,1,x,y+20,z+14,2) setTimer (createExplosion,4600,1,x,y+20,z+14,2) setTimer (createExplosion,4500,1,x-4,y+20,z+14,2) setTimer (createExplosion,4500,1,x-4,y+20,z+14,2) setTimer (createExplosion,4600,1,x-4,y+20,z+14,2) setTimer (createExplosion,4500,1,x+4,y+20,z+14,2) setTimer (createExplosion,4500,1,x+4,y+20,z+14,2) setTimer (createExplosion,4600,1,x+4,y+20,z+14,2) triggerClientEvent("CreateNinjaSound",player,player,"ChibakuSas.mp3") timer = getTickCount() else outputChatBox( "No puedes usar el comando durante: ".. math.ceil((5000 - (getTickCount() - timer))/1000) .. " segundos", player ) end end ) 1 Link to comment
Ryuto Posted September 19, 2016 Author Share Posted September 19, 2016 Muchas gracias a todos, ya quedo bien. Link to comment
Recommended Posts