Skip to content

Commit

Permalink
Added console log for player joining.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joost de Niet committed May 20, 2023
1 parent 214c474 commit 77dc926
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions events/player_connect.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
-- [[ PLAYER CONNECTED ONCE ]] --
function PlayerConnectedOnce(player)
-- LOG to server console
print("Player " .. player.name .. " joined the server!")

-- INSERT player to player lists
table.insert(players, player)
player.use_of_booster = 0
Expand Down

0 comments on commit 77dc926

Please sign in to comment.