Posts: 95
Threads: 29
Joined: Jun 2012
Reputation:
0
Okay, so I have this issue with my script. Whenever I log in, I have to type in my password in the register system, but then it directs me to my spawn position, but in order to spawn I need to click the right/left arrow about 30 times and then press Spawn, if I dont, the screen is like.. a flashy yellow/black and then it says "Stay within the world boundaries" or something like that.
Do you guys know how to fix this? I've got it so that they spawn at Unity and the camera points at Unity when they log in, but when I finally press spawn it teleports me under Blueberry and I fall.
Posts: 26
Threads: 4
Joined: Sep 2012
Reputation:
0
Send us the onplayerspawn script.
Posts: 1,496
Threads: 78
Joined: Jun 2008
Reputation:
0
17.02.2013, 17:39
(
Последний раз редактировалось leong124; 18.02.2013 в 04:09.
)
I guess it has to do with something like "spawn at last disconnected position" or SetSpawnInfo with wrong data. Code is needed though, especially SetPlayerPos and SetSpawnInfo.
Btw, this thread should be moved to scripting help as there is nothing related to 0.3x, but an ordinary problem.
Edit:
****** got the right answer I think.
Posts: 190
Threads: 17
Joined: Jul 2010
Reputation:
0
Please write back if you find the solution, I get it everytime I die ingame.
Might be the AddPlayerClass thing as that's the only thing I have not tried
Posts: 95
Threads: 29
Joined: Jun 2012
Reputation:
0
I'm gonna post the script later to show you guys. It still is happening.
What lines do I need to post?
Posts: 1,496
Threads: 78
Joined: Jun 2008
Reputation:
0
Does any other players have this problem too?
For me, I'll usually comment out different part of my mode until the problem doesn't exist, so that I can know which part of it causes the problem.