Marker = createMarker ( 1797.19958, 851.72058, 10.67187, "cylinder", 10, R, G, B, Alpha )
function MarkerHit()
for _,w in ipairs(getElementsByType("player")) do
if isElementWithinMarker(w, Marker) then
outputChatBox("killed ",root,255,0,0,true)
end
end
end
addEventHandler("onMarkerHit",Marker,MarkerHit)
addEventHandler("onPlayerWasted",Marker,MarkerHit)
--
Marker = createMarker ( 1797.19958, 851.72058, 10.67187, "cylinder", 10, R, G, B, Alpha )
function MarkerHit(player)
if isElementWithinMarker(source, Marker) then
outputChatBox("killed",root,255,0,0,true)
end
end
addEventHandler("onMarkerHit",Marker,MarkerHit)
addEventHandler("onPlayerWasted",Marker,MarkerHit)
ما ضبطوا ,,//