LeOnArd0
Member
- Joined
- Jan 24, 2010
- Messages
- 76
- Reaction score
- 14
Hey guys, okay?
I need a script that would work like this:
The player reaches level 717 000, to reach this level, it does not get more xp (SET IN STAGES) that there is only that enter the script.
When the players reach level 717 000, he would receive a message saying "Go back to the temple and reset", just like that every time he killed a monster he again received the message "Go back to the temple and reset."
I tried using a script that a friend did, but it did not work.
Needs nothing Storage because it will get him many times.
Could someone help me?
Thanks guys.
I need a script that would work like this:
The player reaches level 717 000, to reach this level, it does not get more xp (SET IN STAGES) that there is only that enter the script.
When the players reach level 717 000, he would receive a message saying "Go back to the temple and reset", just like that every time he killed a monster he again received the message "Go back to the temple and reset."
I tried using a script that a friend did, but it did not work.
Code:
function onKill(cid, target)
if getPlayerLevel(cid) == 717000 and isMonster(target) then
doPlayerSendTextMessage(cid, 27, "Vá para o templo e de !reset")
end
return true
end
Code:
<event type="kill" name="maxlevel" event="script" value="maxlevel.lua"/>
Needs nothing Storage because it will get him many times.
Could someone help me?
Thanks guys.