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 spawnPlayer To Visit Us Press Here: mtasa://5.9.206.180:22002
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. To Visit Us Press Here: mtasa://5.9.206.180:22002
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
iMr.3a[Z]eF Posted July 28, 2013 Posted July 28, 2013 So, why not use a script from the community? To Visit Us Press Here: mtasa://5.9.206.180:22002
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 San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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