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

Need help with vocations.

DestinationSer

@echo off
Joined
Mar 7, 2009
Messages
2,806
Solutions
1
Reaction score
675
Also i want a script that does when they reach lvl 710000 they can say !startover but when they do that command. Theyre gonna start with the same mana and hp as they had in lvl 710000 and the stuff they had.

I hope this works and im sure it does.

Please send me the script for it as fast as possible.
Thanks
 
Lua:
function onSay(cid, words, param)
if getPlayerLevel(cid) => 710000 then
doPlayerAddExperience(cid, - getPlayerExperience)
end
return true
end

try that?
 
Lua:
function onSay(cid, words, param)
if getPlayerLevel(cid) => 710000 then
doPlayerAddExperience(cid, - getPlayerExperience)
end
return true
end

try that?

try it:
Lua:
function onSay(cid, words, param)
if getPlayerLevel(cid) >= 710000 then
doPlayerAddExperience(cid, - getPlayerExperience(cid))
end
return true
end
 
Both have bugs... I tried this, by myself, but it don't save the mana points nor the health points nor the capacity nor the soul. I tried to create a table to save some values before doing it, but I noticed that it will only succeed if someone that knows how to manipulate a database...
 
Back
Top