Posts: 918
Threads: 125
Joined: Nov 2010
How can I check whether this is true or not? Cus if I use:
if(ForeClassSelection == true), I get an error.
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
ForceClassSelection doesn't return anything ..
Posts: 2,593
Threads: 38
Joined: Aug 2007
Reputation:
0
Neither does GetPlayerHealth. What are you attempting to achieve?
Posts: 918
Threads: 125
Joined: Nov 2010
well it is for my balancer, it should become -1 if the player goes to class selection.
Posts: 918
Threads: 125
Joined: Nov 2010
Posts: 1,150
Threads: 16
Joined: Oct 2009
Reputation:
0
The player will go to class selection only in the beginning of the game unless you force it. In that case, just declare another variable and set it's value to something. When you want to check if the player is in class selection, just check for the value of that variable. When he spawns, set that variable to a different value.