Hello. I need to help with script to login.lua.
I want this:
When player on mainland loss lvl to 5 then he "rook himself" so he must has all what SAMPLE ROOK has got in his statistics.
I try to write this alone.... but i can't
I must do all like mana,hp etc or is it one line to copy SAMPLE ROOK?
Please, help me ; )
I want this:
When player on mainland loss lvl to 5 then he "rook himself" so he must has all what SAMPLE ROOK has got in his statistics.
I try to write this alone.... but i can't
Code:
function onLogin(cid)
if getPlayerLevel(cid) < 6
else getPlayerVocation(cid) > 0
then doPlayerSetTown(cid, 3)
doPlayerSetVocation(cid, 0)
I must do all like mana,hp etc or is it one line to copy SAMPLE ROOK?
Please, help me ; )