• 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 What change GROUPIP hasVip!?

TibiaGameHost

Hello!
Joined
Feb 25, 2009
Messages
255
Reaction score
0
Location
Canadá
i have this script for chage vocation VIPs

function onLogin(cid)

if vip.hasVip(cid) == TRUE then
if(isInArray({1, 2, 3, 4}, getPlayerVocation(cid))) then
doPlayerSetVocation(cid,getPlayerVocation(cid)+12)

end
elseif vip.hasVip(cid) == FALSE and vip.getVip(cid) == 0 then
if(isInArray({13, 14, 15, 16}, getPlayerVocation(cid))) then
doPlayerSetVocation(cid,getPlayerVocation(cid)-12)
end
end
return TRUE
end

I do not know if it is possible to use it to make the change GroupID.
Place where VIP GROUPID and take over.
I use VIP System by Mock
 
Back
Top