Mr. Maxilian Posted June 30, 2019 Posted June 30, 2019 I have a resource which runs another resource when the server comes player: function PlayerJoin() resource = getResourceFromName("player-auth") startResource(resource) end addEventHandler("onPlayerJoin", root, PlayerJoin) The problem is this: This resource is triggered FOR ALL PLAYERS, and I need it to ONLY run FOR the PLAYER WHO JOINED! HELP, PLEASE!
sacr1ficez Posted June 30, 2019 Posted June 30, 2019 7 minutes ago, Mr. Maxilian said: I have a resource which runs another resource when the server comes player: function PlayerJoin() resource = getResourceFromName("player-auth") startResource(resource) end addEventHandler("onPlayerJoin", root, PlayerJoin) The problem is this: This resource is triggered FOR ALL PLAYERS, and I need it to ONLY run FOR the PLAYER WHO JOINED! HELP, PLEASE! What you try to achieve, trigger event? I don't think that this is possible to do, that you can start resource for certain player.
Hugos Posted July 1, 2019 Posted July 1, 2019 And if you configure the rights. Function onClientResourceStart?
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