Flymode.
#1

In 0.3.7 R1, flymode worked fine. In R2, it gives the white loading screen of death. It's not TogglePlayerSpectate causing the issue. I think it's AttachCameraTo*. I don't know how to explain this any further, it's just that simple.

The following piece of the flymode FS doesn't cause any harm, it just gives you the beach view.
Code:
		new Float:X, Float:Y, Float:Z;
		GetPlayerPos(playerid, X, Y, Z);
		TogglePlayerSpectating(playerid, true);
		SetPlayerCameraPos(playerid, X, Y, Z);
This code makes the screen blink between that view and the white loading screen of death.
Code:
		new Float:X, Float:Y, Float:Z;
		GetPlayerPos(playerid, X, Y, Z);
		noclipdata[playerid][flyobject] = CreatePlayerObject(playerid, 19300, X, Y, Z, 0.0, 0.0, 0.0);
		AttachCameraToPlayerObject(playerid, noclipdata[playerid][flyobject]);
This code locks you in the white loading screen of death.
Code:
FlyMode(playerid);
(The flymode function is from the flymode FS packed with the default server package.)
Reply


Messages In This Thread
Flymode. - by Crayder - 21.07.2015, 22:32
Re: Flymode. - by ][Noname][ - 22.07.2015, 04:35
Re: Flymode. - by Crayder - 22.07.2015, 07:24
Re: Flymode. - by Tamer - 22.07.2015, 09:55
Re: Flymode. - by ][Noname][ - 22.07.2015, 15:00
Re: Flymode. - by Crayder - 22.07.2015, 16:12
Re: Flymode. - by dugi - 22.07.2015, 17:50
Re: Flymode. - by Crayder - 22.07.2015, 19:35
Re: Flymode. - by Crayder - 23.07.2015, 05:57
Re: Flymode. - by ][Noname][ - 23.07.2015, 06:50
Re: Flymode. - by Crayder - 23.07.2015, 07:25
Re: Flymode. - by ][Noname][ - 23.07.2015, 07:38
Re: Flymode. - by Banana_Ghost - 24.07.2015, 09:17
Re: Flymode. - by ][Noname][ - 26.07.2015, 05:45
Re: Flymode. - by Onfroi - 27.07.2015, 03:46
Re: Flymode. - by Crayder - 27.07.2015, 04:13
Re: Flymode. - by ][Noname][ - 16.08.2015, 19:10
Re: Flymode. - by Crayder - 16.08.2015, 20:58
Re: Flymode. - by Crayder - 05.09.2015, 23:58
Re: Flymode. - by ][Noname][ - 12.09.2015, 18:31
Re: Flymode. - by JustMe.77 - 05.01.2017, 13:40
Re: Flymode. - by NaS - 06.01.2017, 18:50
Re: Flymode. - by Freaksken - 05.04.2017, 03:39
Re: Flymode. - by Crayder - 05.04.2017, 06:42
Re: Flymode. - by Freaksken - 05.04.2017, 18:03
Re: Flymode. - by Freaksken - 08.07.2017, 05:40
Re: Flymode. - by Freaksken - 08.12.2018, 14:56

Forum Jump:


Users browsing this thread: 1 Guest(s)