woody100_1
New Member
- Joined
- Aug 11, 2011
- Messages
- 17
- Reaction score
- 0
I have a problem with vip vocations add my script and a screenshot of the error, i use the forgotten server 1.0 THIS
Code:
function onLogin(cid)
if getPlayerVipDays(cid) >= 1 and (isInArray({1, 2, 3, 4, 5, 6, 7, 8}, getPlayerVocation(cid))) then
doPlayerSetVocation(cid, (getPlayerVocation(cid)+4))
end
if getPlayerVipDays(cid) < 1 and (isInArray({9, 10, 11, 12}, getPlayerVocation(cid))) then
doPlayerSetVocation(cid, (getPlayerVocation(cid)-4))
end
return true
end