GamerDeMTA Posted July 28, 2013 Posted July 28, 2013 Hello. I need help with this. I want to do that, when it's the player first Login in the server, he spawns in Grove ST. I only know I need to use this: setElementPosition but how to know if it's his first Login?
iMr.3a[Z]eF Posted July 28, 2013 Posted July 28, 2013 That's impossible, why not using onPlayerLogin Any player will logged he will addEventHandler("onPlayerLogin", root, function() spawnPlayer(source, x, y, z) end ) Replace: x, y, z with the grove position.
GamerDeMTA Posted July 28, 2013 Author Posted July 28, 2013 It isn't impossible I saw it in some servers, when its your first login you spawn in somewhere Anyways thanks for the help
Castillo Posted July 28, 2013 Posted July 28, 2013 To see if is his/her first login, you'll have to store this data somewhere, you can use account data, which will be easy for you. Event: onPlayerLogin Functions: getAccountData setAccountData spawnPlayer
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