Gtagasje Posted October 21, 2011 Posted October 21, 2011 (edited) I wan't a player to get a position at LSPD if they login, and it actually shows in the debugmode that I have a bad syntax at setPlayerPosition. This is my script: function position (source) setElementPosition ( source, 1549.88953, -1685, 13 ) end addEventHandler("onPlayerLogin", root, position) Edited October 21, 2011 by Guest Yes, this is infact a signature.
Gtagasje Posted October 21, 2011 Author Posted October 21, 2011 wait, I though that setPlayerPosition was something, but it wasn't.. so I changed it to setElementPosition but still a nil value Yes, this is infact a signature.
Castillo Posted October 21, 2011 Posted October 21, 2011 function position () setElementPosition ( source, 1549.88953, -1685, 13 ) end addEventHandler("onPlayerLogin", root, position) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Gtagasje Posted October 21, 2011 Author Posted October 21, 2011 Ah. now I get it, thanks again castillo! :DDD Yes, this is infact a signature.
Castillo Posted October 21, 2011 Posted October 21, 2011 You're welcome. 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