buuczo
New Member
- Joined
- Nov 8, 2012
- Messages
- 12
- Reaction score
- 0
>=30 <90frags (white skull) <=90 <120frags (green skull) FRAG SKULL SYSTEM [HELP]
I need help with globalevent with skulls from frags 30/90/120/150 bla bla and colors
i found something like that but i think it isnt this:
- - - Updated - - -
FOUND
[PLEASE CLOSE THREAD]
I need help with globalevent with skulls from frags 30/90/120/150 bla bla and colors
i found something like that but i think it isnt this:
function onThink(interval, lastExecution, thinkInterval)
for _, cid in ipairs(getPlayersOnline()) do
local points = getPlayerPoints(cid)
if (points >= 30 and points <= 99) then
doCreatureSetSkullType(cid, 1)
elseif (points >= 100 and points <= 199) then
doCreatureSetSkullType(cid, 2)
elseif (points >= 200 and points <= 599) then
doCreatureSetSkullType(cid, 3)
elseif points >= 600 then
doCreatureSetSkullType(cid, 4)
else
return true
end
end
return true
end
- - - Updated - - -
FOUND
[PLEASE CLOSE THREAD]