igorlabanca
New Member
- Joined
- Aug 15, 2010
- Messages
- 36
- Reaction score
- 3
Well this script, the player to step in this area , all server earn yellow skull , but I'd like just who had the area won the yellow skull
Thanks
Code:
function onThink(player, interval, item, position, lastPosition, fromPosition, toPosition)
for posx = 1251,1259 do
for posy = 716,724 do
local pos = Position (posx, posy, 6)
local creature = getTopCreature(pos).uid
if isPlayer(creature) then
player:setSkull(SKULL_YELLOW)
return true
end
end
end
end
Thanks