Hello OTlanders,,,
i need help plz guys i searched for a script that make an effect to top guild players i found this
[/CODE]
but i cant make the method getPlayerGuildFrags(cid) could any1 help me plz
i need help plz guys i searched for a script that make an effect to top guild players i found this
Code:
[code=lua]
local highscorefrags = getHighscoreString(Frags)
function onThink(interval, lastExecution)
if getPlayerGuildFrags(cid) == highscorefrags then
doSendMagicEffect(getPlayerPosition(cid), 27)
doSendAnimatedText(getPlayerPosition(cid), "TOP FRAGS", TEXTCOLOR_RED)
end
return true
end
but i cant make the method getPlayerGuildFrags(cid) could any1 help me plz