Posts: 918
Threads: 125
Joined: Nov 2010
What happens if u remove the spectate function?
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
Usually when you get that screen the position is at some extreme coordinates what I think is happening is the way your trying to do this instead create the object when they login to the server....
CameraObjects[MAX_PLAYERS];
CameraObject = CreatePlayerObject(playerid, 19300, 0.0, 0.0, 2.0, 0, 0, 0);
Eventually with the code you have would fill up a players object slots anyways.
Posts: 381
Threads: 12
Joined: Oct 2012
Reputation:
0
why did u post the spectate function then? lol
did u try with normal non player objects
Posts: 2,203
Threads: 154
Joined: Oct 2009
Reputation:
0
Try to store object id into a variable and use variable in attaching camera to object.
I know that i was attaching camera to a moving object and it worked fine...
Posts: 724
Threads: 62
Joined: Dec 2008
Reputation:
0
I've found out the issue, on a Linux (CentOS) server, it is related to the SAMP server uptime.
We've killed the samp process and turned it back on and it works without any issue, so it seems related to uptime.
Posts: 484
Threads: 49
Joined: Feb 2011
Same problem, and yes, it's related to uptime...
Posts: 724
Threads: 62
Joined: Dec 2008
Reputation:
0
Exactly, it seems to be after 2 weeks or so, can we please get a response?
Posts: 691
Threads: 96
Joined: Jan 2012
Reputation:
0
Did you try to maybe set the world bounds, bigger than the map? That Loading screen usually comes up if the player is out of the world.
Posts: 12
Threads: 0
Joined: Apr 2014
Reputation:
0
I get bugs because of uptime as well, but with timers instead.
Posts: 610
Threads: 18
Joined: Jan 2014
Reputation:
0
This Loading ... also comes if you set the Gravity to a very high value.
EDIT: View the Flymode by h02. You can obtain the fix.