Spawning Issues
#5

Quote:
Originally Posted by stormchaser206
Посмотреть сообщение
TogglePlayerSpectating(playerid, 0); made me spawn at 0.0, 0.0, 0.0.

I then replaced TogglePlayerSpectating with SpawnPlayer(playerid);

And yes, there is a SetSpawnInfo there.
There is your problem, You did TogglePlayerSpectation(playerid,1) and never stopped spectating.

TogglePlayerSpectationg 0 turns off your spectation mode.

You are flying because you are still specing, make sure you remove TogglePlayerSpectating(Playerid, 1) to avoid the error.

Or Do TogglePlayerSpectating(playerid, 1);
TogglePlayerSpectating(playerid, 0);
SetSpawnInfo(playerid, x,y,z);

This should do it if it dont just remove TogglePlayerSPectating.

1 = Turns on
0 = Turns off.
Reply


Messages In This Thread
Spawning Issues - by stormchaser206 - 08.11.2013, 23:09
Re: Spawning Issues - by Chrillzen - 08.11.2013, 23:13
Re: Spawning Issues - by DavidLuango - 08.11.2013, 23:38
Re: Spawning Issues - by stormchaser206 - 09.11.2013, 00:52
Re: Spawning Issues - by DavidLuango - 09.11.2013, 01:47
Re: Spawning Issues - by stormchaser206 - 09.11.2013, 13:38

Forum Jump:


Users browsing this thread: 2 Guest(s)