Returning to Position after Death [0.3 Bug] ?
#8

Again sry, but i couldn't edit again
I just want to tell you, that i solved my problem. As i said it WAS related to my SpawnPlayer and my SetSpawnInfo. So i tried to get rid of these in my /login Command. I searched for quite a while and after some long time i finally found a related Post of someone else.
At the end i changed my "return 0;" to a "return 1;" in my OnPlayerRequestClass and removed the SpawnPlayer and SetSpawnInfo part and it worked. Now its only called once as it should and im returning to my Position again.

I have one more questeion concerning the OnPlayerRequestClass part. I would like to set the camera pos OnPlayerRequestClass. In 0.2x i just used.
Код:
// OnPlayerRequestClass
SetCameraPos(...);
SetCameraLookAt(...);
BUT in 0.3 i needed to insert TogglePlayerSpectating(playerid, 1); in OnPlayerRequestClass to remove the "Spawn GUI" (with the two arrows and the "Spawn" Button). For some reason now my SetCameraPos... isnt working anymore.
So anybody knows how to change the camera in OnPlayerRequestClass?

And i would like to report another issue with 0.3: If i user TogglePlayerSpectating(playerid, 1); in OnPlayerConnect and trying to show a "Login" Dialog Box in OnPlayerRequestClass it wont show. Is this a know Bug? Or is this intentional?
Reply


Messages In This Thread
Returning to Position after Death [0.3 Bug] ? - by Doktor - 03.10.2009, 17:29
Re: Returning to Position after Death [0.3 Bug] ? - by ruarai - 04.10.2009, 01:25
Re: Returning to Position after Death [0.3 Bug] ? - by ruarai - 04.10.2009, 03:54
Re: Returning to Position after Death [0.3 Bug] ? - by Joe Staff - 04.10.2009, 06:18
Re: Returning to Position after Death [0.3 Bug] ? - by Andom - 04.10.2009, 08:42
Re: Returning to Position after Death [0.3 Bug] ? - by Doktor - 04.10.2009, 12:12
Re: Returning to Position after Death [0.3 Bug] ? - by Doktor - 04.10.2009, 13:29
Re: Returning to Position after Death [0.3 Bug] ? - by Doktor - 04.10.2009, 14:37

Forum Jump:


Users browsing this thread: