LukaTFU Posted February 25, 2019 Share Posted February 25, 2019 (username is player.name normally just changed it to test something, with player.name its the same error. so username = player.name) Server Side Code:https://imgur.com/a/mgQMsdi Console Error Message: https://imgur.com/a/cmt2Tg8 Help would be awesome, thanks in advantage. Link to comment Share on other sites More sharing options...
MrPancakers Posted February 25, 2019 Share Posted February 25, 2019 (edited) Well yeah, where is ‘player’ defined for player.name to work? You can’t get a player object out of thin air. Considering the query isn't in an event or anything, how can it get a players name if nobody is even connected? All that code not sitting inside an event is being ran as soon as the server starts Edited February 25, 2019 by MrPancakers Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now