Update join.blade.php

This commit is contained in:
Thomas G 2022-10-23 10:55:28 +11:00
parent 81f57cd2b6
commit 24f961af19
1 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ function setMessage(message)
end end
-- Check if client is not logged in -- Check if client is not logged in
--if <?php echo $authorised; ?> == 0 then --if "<?php echo $authorised; ?>" == "0" then
-- setMessage("You are not logged in. (ID: 400)", "Kick", "Kick") -- setMessage("You are not logged in. (ID: 400)", "Kick", "Kick")
-- error("Not logged in") -- error("Not logged in")
--end --end
@ -228,7 +228,7 @@ local success, err = pcall(function()
playerConnectSucces, player = pcall(function() return client:PlayerConnect(<?php echo $id; ?>, "<?php echo $ip; ?>", <?php echo $port; ?>, 0, threadSleepTime) end) playerConnectSucces, player = pcall(function() return client:PlayerConnect(<?php echo $id; ?>, "<?php echo $ip; ?>", <?php echo $port; ?>, 0, threadSleepTime) end)
if <?php echo $authorised ?> == 0 then if "<?php echo $authorised; ?>" == "0" then
-- guest -- guest
player:SetSuperSafeChat(true) player:SetSuperSafeChat(true)
pcall(function() player:SetUnder13(true) end) pcall(function() player:SetUnder13(true) end)