tricolor1935
New Member
Hi guess, in my otserv have a feature if you get level 70+ you automatic win 3 days of premmium account, but the problem is, if player create 5 characters in the same account and get all chars level 70+ he will win 3 days per character.
I want a script that you will win 3 days if you get 70+ in character, but not in the same account, because people creating new character in the same account to make it.
Understand me?
Sorry for bad english
My script is it:
function onLogin(cid)
level = getPlayerLevel(cid)
if getPlayerStorageValue(cid, 3000) == -1 and level > 70 then
doPlayerAddPremiumDays(cid, 3)
doPlayerSendTextMessage(cid,22,"You reached to level 70 and win 3 days premium! Relogout to use it")
setPlayerStorageValue(cid, 3000, 1)
end
return TRUE
end
I will aprecciate who want help me =D
Thx
I want a script that you will win 3 days if you get 70+ in character, but not in the same account, because people creating new character in the same account to make it.
Understand me?
Sorry for bad english
My script is it:
function onLogin(cid)
level = getPlayerLevel(cid)
if getPlayerStorageValue(cid, 3000) == -1 and level > 70 then
doPlayerAddPremiumDays(cid, 3)
doPlayerSendTextMessage(cid,22,"You reached to level 70 and win 3 days premium! Relogout to use it")
setPlayerStorageValue(cid, 3000, 1)
end
return TRUE
end
I will aprecciate who want help me =D
Thx