09.11.2013, 01:47
Quote:
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. |
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.