mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Fixed error with LuaPlayer.connected
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name" nowrap><a href="#update">update ([frame[, players]])</a></td>
|
||||
<td class="summary">This is used to update all the guis of conected players, good idea to use our thread system as it as nested for loops</td>
|
||||
<td class="summary">This is used to update all the guis of connected players, good idea to use our thread system as it as nested for loops</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="name" nowrap><a href="#open">open (left_name)</a></td>
|
||||
@@ -151,7 +151,7 @@
|
||||
<strong>update ([frame[, players]])</strong>
|
||||
</dt>
|
||||
<dd>
|
||||
This is used to update all the guis of conected players, good idea to use our thread system as it as nested for loops
|
||||
This is used to update all the guis of connected players, good idea to use our thread system as it as nested for loops
|
||||
|
||||
|
||||
<h3>Parameters:</h3>
|
||||
|
||||
@@ -78,7 +78,7 @@ commands.validate = {
|
||||
['player-online']=function(value,event)
|
||||
local player,err = commands.validate['player'](value)
|
||||
if err then return commands.error(err) end
|
||||
local rtn = player.conected and player or nil
|
||||
local rtn = player.connected and player or nil
|
||||
if not rtn then return commands.error{'ExpGamingCore_Command.error-player-online'} end return rtn end,
|
||||
['player-alive']=function(value,event)
|
||||
local player,err = commands.validate['player-online'](value)
|
||||
|
||||
@@ -49,7 +49,7 @@ function left.add(obj)
|
||||
return obj
|
||||
end
|
||||
|
||||
--- This is used to update all the guis of conected players, good idea to use our thread system as it as nested for loops
|
||||
--- This is used to update all the guis of connected players, good idea to use our thread system as it as nested for loops
|
||||
-- @usage Gui.left.update()
|
||||
-- @tparam[opt] string frame this is the name of a frame if you only want to update one
|
||||
-- @param[opt] players the player to update for, if not given all players are updated, can be one player
|
||||
|
||||
Reference in New Issue
Block a user