Lua:
if getPlayerVipDays(cid) >= 1 then
if getPlayerVocation(cid) == 1 then
--setPlayerPromotion(cid, 13)
end
if getPlayerVocation(cid) == 2 and getPlayerVipDays(cid) >= 1 then
-- setPlayerPromotion(cid, 14)
end
if getPlayerVocation(cid) == 3 and getPlayerVipDays(cid) >= 1 then
--setPlayerPromotion(cid, 15)
end
if getPlayerVocation(cid) == 4 and getPlayerVipDays(cid) >= 1 then
--setPlayerPromotion(cid, 16)
end
end
Error in Console:
Code:
[31/08/2010 18:30:21] [Warning - Vocations::getVocation] Vocation 4294967295 not found.
[31/08/2010 18:30:21] [Warning - Vocations::getVocation] Vocation 4294967295 not found.
[31/08/2010 18:30:21] [Warning - Vocations::getVocation] Vocation 4294967295 not found.
[31/08/2010 18:30:21] [Warning - Vocations::getVocation] Vocation 4294967295 not found.
When Look:
18:30 You see yourself. You are .
What's Up? :blink: