28.10.2016, 11:13
(
Последний раз редактировалось Threshold; 28.10.2016 в 13:15.
)
Then why not just use !IsPlayerConnected? What if somehow the player ID is 10 and player ID 10 isn't connected? Then your logic fails. IsPlayerConnected works for existing AND invalid IDs, I think the original method was fine.
EDIT: I thought you said IsPlayerConnected wouldn't work in this situation. Either you edited it or I completely misread it.
EDIT: I thought you said IsPlayerConnected wouldn't work in this situation. Either you edited it or I completely misread it.