Gtagasje Posted October 21, 2011 Share 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 Link to comment
Gtagasje Posted October 21, 2011 Author Share 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 Link to comment
Castillo Posted October 21, 2011 Share Posted October 21, 2011 function position () setElementPosition ( source, 1549.88953, -1685, 13 ) end addEventHandler("onPlayerLogin", root, position) Link to comment
Gtagasje Posted October 21, 2011 Author Share Posted October 21, 2011 Ah. now I get it, thanks again castillo! :DDD 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