TogglePlayerSpectating kicks player from the server.
#4

Spawn the player under OnPlayerConnect and use TogglePlayerSpectating under OnPlayerSpawn.

OnPlayerSpawn :
pawn Code:
if(FirstSpawn[playerid] == 0)
{
    FirstSpawn[playerid] = 1;
    TogglePlayerSpectating(playerid, true);
    //camera effect? InterpolateCameraPos/SetPlayerCameraPos
    return 1;
}
Reply


Messages In This Thread
TogglePlayerSpectating kicks player from the server. - by Lorenc_ - 17.01.2014, 04:33
Re: TogglePlayerSpectating kicks player from the server. - by ViruZz - 17.01.2014, 05:24
Re: TogglePlayerSpectating kicks player from the server. - by EmilLykke - 18.01.2014, 09:10
Re : TogglePlayerSpectating kicks player from the server. - by Stefano.R - 18.01.2014, 09:32

Forum Jump:


Users browsing this thread: 3 Guest(s)