DRW Posted April 17, 2015 Share Posted April 17, 2015 Hello, I want to know how to make a script like this or if there is already a resource with this function: So, there are two already made teams (Red - Blue), and two markers, when players from Red team stay in a Blue team marker for 2 minutes, all the players of the team will get money, and the ones from the Blue team will lose some of their, when those 2 minutes have passed, the marker would dissapear and become inactive for 15 minutes. Also, make the markers inactive if one of the teams have no members. I don't need a complete script, just the instructions for making it or the download link for that resource. Thanks! Link to comment
Death Posted April 18, 2015 Share Posted April 18, 2015 you will use events "onColShapeLeave" "onColShapeHit" ------------------ functions setPlayerMoney getPlayerMoney createColRectangle createRadarArea isElementWithinColShape getPlayersInTeam getPlayerTeam getTeamColor ------------------ and several other Link to comment
Dimos7 Posted April 18, 2015 Share Posted April 18, 2015 you need use and takePlayerMoney 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