FANDOM


Postavlja igrača u spec modu.


Parametri: (playerid, toggle)

playerid ID Igrača kojeg želimo ubaciti u spec modu.

toggle 1 - uključen spec mod | 0 - isključen spec mod


Returns: Ova funkcija ne vraća određenu vrijednost.


PrimjerEdit

public OnPlayerConnect(playerid)
{
    TogglePlayerSpectating(playerid, 1); //Ubacuje igrača u spec mod pri konektovanju
    return 1;
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.