Advertisement
ProToTN

MTA explodeMe Script

Jan 23rd, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. function explodeMe ()
  2.         local x,y,z= getElementPosition(localPlayer)
  3.         expl = createExplosion(x,y,z,8,true)
  4.         fire = createFire(x,y,z)
  5.         if (expl) and (fire) then
  6.             outputChatBox("Explosion script has successfully worked")
  7.         else
  8.             outputChatBox("Explosion script has failed")
  9.         end
  10. end
  11.  
  12.  
  13. addCommandHandler ( "boom", explodeMe )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement