ghettobird
LUA newbie
you can edit it if you want, i just saw it in highexp so i thought it would be nice if i share it with everyone, i'm not sure if it will work i didn't have time to test it so, just post errors if there are any !
please go easy on me I'm still a beginner I'm just trying to be helpful here, also to examine myself in what i've learned/read
Lua:
function onThink(interval, lastExecution)
for _, name in ipairs(getOnlinePlayers()) do
local cid = getPlayerByName(name)
if getPlayerGroupId(cid) ==3 then
doSendMagicEffect(getPlayerPosition(cid), 27)
doSendAnimatedText(getPlayerPosition(cid), "HELPER", TEXTCOLOR_RED)
end
end
return true
end
please go easy on me I'm still a beginner I'm just trying to be helpful here, also to examine myself in what i've learned/read
Last edited: