Postado Julho 14, 2012 12 anos Eddy, ai ele primeiro adiciona a vip e depois verifica se já foi adicionada .-. e key é nula .-. -"Supra Omnes Lux Lucis" - Acima de todos brilha a Luz -
Postado Julho 14, 2012 12 anos Ficaria assim errei ordem então function onSay(cid, words, param) if (getPlayerStorageValue(cid, key) < 1) then return true end setPlayerStorageValue(cid, key, 1) if getPlayerLevel (cid) <= 100 then doPlayerAddPremiumDays(cid, 7) elseif getPlayerLevel (cid) >= 200 then doPlayerAddPremiumDays(cid, 15) elseif getPlayerLevel (cid) >= 300 then doPlayerAddPremiumDays(cid, 20) return true end return true end Corrige aí Max eu não sou scripter mais tento
Postado Julho 14, 2012 12 anos quase, xD function onSay(cid, words, param) if (getPlayerStorageValue(cid, 7891) > 0) then return true end if getPlayerLevel (cid) <= 100 then doPlayerAddPremiumDays(cid, 7) elseif getPlayerLevel (cid) >= 200 then doPlayerAddPremiumDays(cid, 15) elseif getPlayerLevel (cid) >= 300 then doPlayerAddPremiumDays(cid, 20) end return setPlayerStorageValue(cid, 7891, 1) end -"Supra Omnes Lux Lucis" - Acima de todos brilha a Luz -
Postado Julho 14, 2012 12 anos Autor Só o primeiro de 7 dias pego, mas ta bom, só assim ja me ajuda, vo decha assim só mesmo, vlw ai, rep+ pros 2 por ter me ajudado De boua na lagoa ? *-* Entrada ao Tibia King:27/05/2012 (02:14)
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.