zofski Posted September 12, 2013 Share Posted September 12, 2013 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 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now