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

Tutorial Best Vip System! Full!

Mira t posteo mis scripts y nombres,
exprate.lua (creaturescript)
local ex = getPlayerRates(cid)[SKILL__LEVEL]
function onLogin(cid)
if isPremium(cid) == TRUE and getPlayerStorageValue(cid, 12345) == 0 then
setPlayerStorageValue(cid, 12345, 1)
doPlayerSetRate(cid, SKILL__LEVEL, (ex+0.05))

elseif isPremium(cid) == FALSE and getPlayerStorageValue(cid, 12345) == 1 then
doPlayerSetRate(cid, SKILL__LEVEL, (ex-0.05))
setPlayerStorageValue(cid, 12345, 0)
end

return TRUE
end

y en creaturescript.xml agregue esto
registerCreatureEvent(cid, "exprate")
 
Up:
en creaturscritp.xml agrega esta linea..

<event type="login" name="exprate" event="script" value="exprate.lua"/>

Donde as de poner registerCreatureEvent(cid, "exprate") es en el creaturescript/scrtip/login.lua lo abres y en el post de arriba te dije donde lo deves colocar.. y ahora si te deveria de funcionar..
Pd: No me mandes 3 mensajes a 3 sitios distintos por que de igual lo mirare cuando llege.. asi que no hace falta que mandes mensaje para decirme que ya posteaste ya que lo vere cuando llege a casa y conecte..
 
tiene suporte para promotion vip? lo player perde la promotion si acabar vip time?
 
Up: Prueba en tu confic.lua a poner-> premiumForPromotion = true
cuando se acabe te quetara la premium.. si no lo hace dilo y te ago un script para que lo aga aparte..
 
Buen system vip, pero prefiero el de premium acc es mas accesible.
 
Bueno.... vi que algunos OTSs lo usan, ayuda a la comunidad porq no decir gracias!
 
En mi parecer, es el mejor sistema VIP que pueda existir, quien imaginaria que se podría usar la premium como VIP, muchas gracias por tomarte tu tiempo en hacer el tutorial :)
 
xD es muy complicado mejor usemos prmeium como vip D:
nomas cambias en config lua y xml xD
 
Back
Top