اول شئ مسوي الماركر لوكل
ثاني شئ في الاوتبوت شات بوكس مسوي
player
في الحاله دي
player = nil
لانوا مو معرف
addCommandHandler("mark",
function ( player )
x,y,z = getElementPosition(player)
testMarker = createMarker ( x,y,z -1, "cylinder", 1.5, 255, 255, 0, 170 )
outputChatBox("done create marker",player,0,255,0,true)
end
)
addEventHandler( "onMarkerHit", root,
function ( hit )
if source == testMarker then
outputChatBox(getPlayerName(hit).." joined to marker",hit,0,255,0,true)
end
end
)