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

Lua More manda and Speed to Premmy

FKaupert

Joker Wolf
Joined
Nov 14, 2009
Messages
60
Reaction score
0
Location
Brazil
How do I add more speed and mana for the premium accounts? Without using any type of item.
Ex:
The player to purchase a premium account and automatically have more mana and speed.
 
How do I add more speed and mana for the premium accounts? Without using any type of item.
Ex:
The player to purchase a premium account and automatically have more mana and speed.

more mana?
I.E. if its premium max mana will be lets say 1000
and if its not premium, max mana will be 900 or something?

or you are talking about the mana regeneration ?
 
@Bogart, free account will have 0 mana, and premium will have 100. Free will have 0 speed, and premium +20... how i can make this?
 
in onlogin.lua
Code:
if isPremium(cid) and getPlayerStorageValue(cid, storage, -1) then
setCreatureMaxMana(cid, (getCreatureMaxMana(cid) + x))
setPlayerStorageValue(cid, storage, 1)
end

this should work but im not sure about speed
 
Back
Top