-Mohamed Shipl-
Well-Known Member #!@!$!$@%%&*& Online Helpful
- Joined
- Jun 19, 2014
- Messages
- 42
- Reaction score
- 0
i need fix this script for vip effects
i got this error
Code:
function onThink(interval, lastExecution)
for _, name in ipairs(getOnlinePlayers() do
local cid = getPlayerByName(name)
if getPlayerVipDays(cid) >= 1 then
doSendMagicEffect(getPlayerPosition(cid), 27)
doSendAnimatedText(getPlayerPosition(cid), "VIP!", TEXTCOLOR_RED)
end
end
return true
end
i got this error