[MAKE] /Spec [ID]
#7

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
Yea but you forgot one thing.
PlayerSpectatePlayer(playerid, id);

pawn Код:
dcmd_spec(playerid, params[])
{
    new
    id;
    if (sscanf(params, "u", id)) SendClientMessage(playerid,0xFF0000AA, "USAGE: /spec id");
    else if (id == INVALID_PLAYER_ID) SendClientMessage(playerid,0xFF0000AA, "Player is not found");
    else
    if(IsPlayerAdmin(playerid))
    {
        TogglePlayerSpectating(playerid, 1);
            PlayerSpectatePlayer(playerid, id);
    }
    return 1;
}

Should work now
hehe i should pay more attention=P
Reply


Messages In This Thread
[MAKE] /Spec [ID] - by Larsey123IsMe - 14.11.2010, 02:35
Re: [MAKE] /Spec [ID] - by Lorenc_ - 14.11.2010, 03:07
Re: [MAKE] /Spec [ID] - by Larsey123IsMe - 14.11.2010, 03:15
Re: [MAKE] /Spec [ID] - by Kitten - 14.11.2010, 03:26
Re: [MAKE] /Spec [ID] - by Lorenc_ - 14.11.2010, 03:33
Re: [MAKE] /Spec [ID] - by [L3th4l] - 14.11.2010, 03:34
Re: [MAKE] /Spec [ID] - by Kitten - 14.11.2010, 03:39
Re: [MAKE] /Spec [ID] - by Larsey123IsMe - 14.11.2010, 03:44
Re: [MAKE] /Spec [ID] - by Kitten - 14.11.2010, 03:47
Re: [MAKE] /Spec [ID] - by Larsey123IsMe - 14.11.2010, 03:52

Forum Jump:


Users browsing this thread: 2 Guest(s)