Tenta isso:
function onLogin(cid)
if getPlayerVipDays(cid) >= 1 then
if(isInArray({1, 2, 3, 4}, getPlayerVocation(cid))) then
doPlayerSetVocation(cid,getPlayerVocation(cid)+4)
end
end
if getPlayerVipDays(cid) < 1 then
if(isInArray({5, 6, 7, 8}, getPlayerVocation(cid))) then
doPlayerSetVocation(cid,getPlayerVocation(cid)-4)
end
end
return TRUE
end


info
Grupo: Campones
Registrado: 29/07/08
Posts: 0
Reputação: 0
Angry Promotion pra sytem vip_time ajuda ai
Olá, Gostaria de Saber se tem como Implantar um sistema que QUANDO COMPRA VIP VOCÊ GANHA PROMOTION AUTOMATICAMENTE
E QUANDO ACABAR VC PERDE A PROMOTION...
Baseado nesse Systema ~ >
[TFS 0.3/0.4] The best VIP system ever! [Action/Movevent/Globalevent]
Valew Galera!
Pode Ser algum Script de Login Tambem...
Quando loga e não tiver mais Vip você perde promotion.
as Functions
getPlayerVipDays(cid) --- Use it to check how many vip days the player have.
doAddVipDays(cid, days) --- Use it to add vip days to someone.
doRemoveVipDays(cid, days) --- Use it to remove vip days to someone.