[HELP] Anti Admin Aim
#4

Quote:
Originally Posted by Jefff
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/GetPlayerTargetPlayer

pawn Код:
public OnPlayerUpdate(playerid)
{
    if(AdminTrabalhando[playerid]) return 1;

    static targetplayer;
    targetplayer = GetPlayerTargetPlayer(playerid);
    if(targetplayer != INVALID_PLAYER_ID && AdminTrabalhando[targetplayer])
    {
        if(GetPlayerWeapon(playerid) > 0)
        {
            SetPlayerArmedWeapon(playerid, 0);
            GameTextForPlayer(playerid, "~r~admin", 2000, 0);
        }
    }
    return 1;
}
it works. Thanks.
Reply


Messages In This Thread
[HELP] Anti Admin Aim - by Hayden_Almeida - 02.12.2015, 22:21
Re: [HELP] Anti Admin Aim - by PinkFloydLover - 02.12.2015, 23:36
Re: [HELP] Anti Admin Aim - by Jefff - 03.12.2015, 01:45
Re: [HELP] Anti Admin Aim - by Hayden_Almeida - 03.12.2015, 17:13

Forum Jump:


Users browsing this thread: 2 Guest(s)