Is there a smarter way to do this ?
#5

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.
Reply


Messages In This Thread
Is there a smarter way to do this ? - by NeXoR - 28.10.2016, 08:54
Re: Is there a smarter way to do this ? - by oMa37 - 28.10.2016, 09:14
Re: Is there a smarter way to do this ? - by NeXoR - 28.10.2016, 09:22
Re: Is there a smarter way to do this ? - by oMa37 - 28.10.2016, 10:17
Re: Is there a smarter way to do this ? - by Threshold - 28.10.2016, 11:13
Re: Is there a smarter way to do this ? - by oMa37 - 28.10.2016, 11:21
Re: Is there a smarter way to do this ? - by AndySedeyn - 28.10.2016, 11:32
Re: Is there a smarter way to do this ? - by Threshold - 28.10.2016, 13:14

Forum Jump:


Users browsing this thread: 1 Guest(s)