-ffs-AbodyRulez Posted August 19, 2013 Posted August 19, 2013 I've made a script that would notify players that a cretin player reached hunter, but when a player actually reaches hunter, the script will output "Player has reached hunter" more than one time, this happens if the [DM] map had more than 1 hunter at end, i'm thinking of a table with 1 entry each map, but i can't get to think of a scripting solution, any ideas ?
HunT Posted August 19, 2013 Posted August 19, 2013 ReachHunter = "ON" if ReachHunter == "ON" -- code Here ReachHunter = "OFF" onMapStart ReachHunter = "ON" If u not understand post the code.
-ffs-AbodyRulez Posted August 19, 2013 Author Posted August 19, 2013 Yea i used a flag = {} and did a check if it was == 1 then return end, after codes set to 1, onMapStarting set back to nil. Thanks for answering though
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