• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

A action to crash the server

I honestly don't even know if this will work, I haven't scripted in almost 2 years, but it's worth a shot :P.
If it has errors just tell me, and I'll do my best to fix them.
LUA:
	 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


LUA:
<action itemid="3132" event="script" value="shutdownonuse.lua"/>
					-- use any itemid you want
 
Back
Top