• 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!

save character automatic

crashwan

New Member
Joined
Oct 6, 2012
Messages
53
Reaction score
0
I need to save the characters automatically, plus it looks when saving an animation character. thanks

 
after searching for this script I found one by Amiroslo
LUA:
--Script by Amiroslo/ and help with timeing from Znote
function onSay(cid, words, param)
	if exhaustion.check(cid, 7645) == false then -- 7645 (Empty storage)
	   exhaustion.set(cid, 7645, 10) -- 7645(same storage as ^, Empty Storage) 10(How many second to wait until u press it again!) 
	if doPlayerSave(cid) then
		doSendMagicEffect(getPlayerPosition(cid), CONST_ME_HOLYDAMAGE)
		doCreatureSay(cid,"Player Saved",TALKTYPE_ORANGE_1)
	end
	else
		doPlayerSendTextMessage(cid, 17, "You are exhausted for "..(getCreatureStorage(cid, 7645) - os.time()).."!")
	end
	return TRUE
end
 
Back
Top