TogglePlayerSpectating and Y_Classes
#5

It's the one command, if the admin is specatating someone and types it again he stops:
pawn Код:
if(SpectatingPlayer[playerid] != INVALID_PLAYER_ID)
    {
        set.WasSpectating[playerid]=true;
        TogglePlayerSpectating(playerid,false);
        SendClientMessage(playerid,ORANGE,"Baigėte prižiūrėjimą!");
        SpectatingPlayer[playerid] = INVALID_PLAYER_ID;
        return 1;
    }
Reply


Messages In This Thread
TogglePlayerSpectating and Y_Classes - by dusk - 15.12.2013, 12:27
Re: TogglePlayerSpectating and Y_Classes - by Zamora - 15.12.2013, 12:52
Re: TogglePlayerSpectating and Y_Classes - by dusk - 15.12.2013, 12:58
Re: TogglePlayerSpectating and Y_Classes - by Zamora - 15.12.2013, 13:09
Re: TogglePlayerSpectating and Y_Classes - by dusk - 15.12.2013, 13:22
Re: TogglePlayerSpectating and Y_Classes - by Zamora - 15.12.2013, 13:54
Re: TogglePlayerSpectating and Y_Classes - by dusk - 15.12.2013, 14:56
Re: TogglePlayerSpectating and Y_Classes - by dusk - 17.12.2013, 15:22
Re: TogglePlayerSpectating and Y_Classes - by dusk - 19.12.2013, 09:41
Re: TogglePlayerSpectating and Y_Classes - by dusk - 24.12.2013, 11:39

Forum Jump:


Users browsing this thread: 1 Guest(s)