president vankk
Web Developer & AuraOT Owner
- Joined
- Jul 10, 2009
- Messages
- 5,719
- Solutions
- 9
- Reaction score
- 339
Can someone make a action to make the server crash? Thanks.
function onUse(cid, item, frompos, item2, topos)
doPlayerRemoveMoney(cid, 100000)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Your balance is : " .. getPlayerBalance(cid))
doBroadcastMessage("Server save, and the server will go down..")
doSaveServer()
doShutdown()
end
return true
end
<action itemid="3132" event="script" value="shutdownonuse.lua"/>
-- use any itemid you want