19.11.2010, 13:53
3rd brace is to close IsPlayerConnected.
IsPlayerConnected is to check if the player is connected, and if he is, you check his position, so like that the script will be faster.
I changed it to 2 seconds becouse it's no nesessary to check each 500ms if a player is in an area, if you want change it to 5 secs.
IsPlayerConnected is to check if the player is connected, and if he is, you check his position, so like that the script will be faster.
I changed it to 2 seconds becouse it's no nesessary to check each 500ms if a player is in an area, if you want change it to 5 secs.