hello guys,
It possible to make this fire or there is function to make it, And when player enters to the area and he is not in the team they shot him automatically.
This is my code : ( client side )
function onResourceStartss()
radarZone = createRadarArea( 8.9, 1709.45, 400, 400, 255, 0, 0, 100 )
RadarCol = createColRectangle( 8.9, 1709.45, 400, 400 )
addEventHandler ( "onClientColShapeHit", RadarCol, onHitDangerZone, false )
addEventHandler ( "onClientColShapeLeave", RadarCol, onLeaveDangerZone, false )
end
addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()),onResourceStartss)
function onLeaveDangerZone()
outputChatBox("You are leave the danger zone!", 255, 255, 0 )
end
function onPlayerHisDangerZone()
outputChatBox("You are enter to danger zone please leave it on 60seconds!", 255, 0, 0 )
end