Fortera Global
Intermediate OT User
- Joined
- Nov 20, 2015
- Messages
- 1,181
- Solutions
- 2
- Reaction score
- 117
Hello, how to convert to tfs 1.2 please? Or have other method to use for Effet VIP on players who have VIP (storage)?
thankss
Code:
local delay = 999 --Intervalo de tempo entre o efeito, em milésimos de segundo.
function sendVipEffect(cid)
if isPlayer(cid) and isPremium(cid) then
doSendAnimatedText(getThingPos(cid), "[VIP]", math.random(1, 255))
addEvent(sendVipEffect, delay, cid)
end
end
function onLogin(cid)
sendVipEffect(cid)
return true
end
thankss