Firespider Posted July 23, 2022 Share Posted July 23, 2022 Hello! I would like to resolve that the player who enters the server first receives 4000 dollars from the base. Can anyone help with this? Link to comment
Rick_Grimes Posted July 25, 2022 Share Posted July 25, 2022 try this: function giveMoneyOnJoinServer() if not getPlayerAccount(source) then givePlayerMoney(source,4000) end end addEventHandler("onPlayerJoin",root,giveMoneyOnJoinServer) Link to comment
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