19.02.2013, 18:34
Use y_timer's ptask, it will start/stop on connection/disconnect.
In regards to PVars, they will reset on disconnect. However, the example DaRk_RaiN gave is wrong. You're wasting memory by keeping the PVar if you aren't going to use it- just use DeletePVar().
In regards to PVars, they will reset on disconnect. However, the example DaRk_RaiN gave is wrong. You're wasting memory by keeping the PVar if you aren't going to use it- just use DeletePVar().