acp___(PL) Posted June 15, 2010 Share Posted June 15, 2010 How can I know that someone is in this mode (spectator)? I have a script in which players repeatedly pass through markers. It seems to me (I'm sure at 90%) that sometimes when someone is in spectator mode, watching a person who collects markers, once in a while this person (spectator) also collects markers! This happens in version 1.0.3, not tested on 1.0.4 ... If this problem is known (because I know that the same applies to the cp in fashion in the race earlier than version 1.0.4) and has been resolved then I have no problem, just do the update server. If, however, only a fixed race resource in this aspect, then my script will still work faulty ... I know when a player dies, and when then spawn but I do not know when it goes to spectator mode ... Link to comment
acp___(PL) Posted June 16, 2010 Author Share Posted June 16, 2010 I use: getElementData(hitPlayer, "state") == "alive" 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