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

Windows Characters save (!save)

Moe

New Member
Joined
Jun 21, 2012
Messages
18
Reaction score
0
I tried to search the forum to find the script none is working, i also tried to make my own script but i didn't work tho.
If you can just give me the script that would be great.
 
Players can abuse this to dupe items if they discover a crash bug.

Grab the item from your house, save your character, someone crash the server. Item is both in the house and the character.
 
Try this
[/code]
function onSay(cid, words, param, channel)

local config = {
s = 11548, -- n mexa
exhau = 30 -- tempo em seegundos para salvar denovo
}

if (getPlayerStorageValue(cid, config.s) <= os.time()) then
doPlayerSave(cid)
setPlayerStorageValue(cid,config.s,os.time()+config.exhau)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You Saved Your Character!!.")
else
doPlayerSendCancel(cid, "Você tem que esperar " .. config.exhau .. " segundos para salvar novamente.")
end
return TRUE
end
[/code]
 
Back
Top