• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Frozen starlight

Faraonekkk

New Member
Joined
Feb 15, 2010
Messages
686
Reaction score
4
Hello, how i can make effect on item like have frozen starlight? I mean blue light in some sqms?
 
function onUse(cid, item, frompos, itemEx, topos)
if(not isPlayer(itemEx.uid) or (cid ~= itemEx.uid)) then
if(topos.x == CONTAINER_POSITION) then
topos = getThingPos(item.uid)
end
return true
end



local range = 4
local color = DUNNO WHICH IS FOR BLUE.

doSetCreatureLight(cid, range, color, 60*1000)
end
return true
end
 
Back
Top