Thunder
#7
These kind of issues where a player disconnecting causing issues is confusing to me. In the environment I worked in we usually had methods that would search for a player so something like

Code:
local Player = game.Players:FindPlayer("Player")

Then the Player variable would store the player object then I can simply do
Code:
if Player then
--code
end

Is this not feasible with your API? This method of things seems a lot better instead of worrying about player disconnecting. Player will just become nil when the player disconnects. That if statement can handle the player disconnecting easily.
Reply
Thanks given by:


Messages In This Thread
Thunder - by NiLSPACE - 05-09-2015, 09:38 PM
RE: Thunder - by worktycho - 05-09-2015, 09:46 PM
RE: Thunder - by xoft - 05-09-2015, 10:02 PM
RE: Thunder - by worktycho - 05-09-2015, 10:04 PM
RE: Thunder - by xoft - 05-09-2015, 10:08 PM
RE: Thunder - by worktycho - 05-09-2015, 10:20 PM
RE: Thunder - by Shadowraix - 05-13-2015, 06:28 AM
RE: Thunder - by xoft - 05-13-2015, 06:40 AM
RE: Thunder - by Shadowraix - 05-13-2015, 07:14 AM
RE: Thunder - by xoft - 05-13-2015, 07:32 AM
RE: Thunder - by Shadowraix - 05-13-2015, 07:35 AM



Users browsing this thread: 4 Guest(s)