-Mohamed Shipl-
Well-Known Member #!@!$!$@%%&*& Online Helpful
- Joined
- Jun 19, 2014
- Messages
- 42
- Reaction score
- 0
i need fix this script for vip effects ![Big Grin :D :D](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
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
![10429394_1506539759579602_2148400587029616078_n.jpg](/proxy.php?image=https%3A%2F%2Ffbcdn-sphotos-h-a.akamaihd.net%2Fhphotos-ak-xpa1%2Ft1.0-9%2Fp526x296%2F10429394_1506539759579602_2148400587029616078_n.jpg&hash=1fc0dbebef65c9eb746d01ccf93cd8c2)