Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function explodeMe ()
- local x,y,z= getElementPosition(localPlayer)
- expl = createExplosion(x,y,z,8,true)
- fire = createFire(x,y,z)
- if (expl) and (fire) then
- outputChatBox("Explosion script has successfully worked")
- else
- outputChatBox("Explosion script has failed")
- end
- end
- addCommandHandler ( "boom", explodeMe )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement