snipe rifle detect
#2

Use foreach for that.
pawn Код:
new
    w,
    a
;
foreach(new i : Player)
{
    for( new j; j != 13; j++ )
    {
        GetPlayerWeaponData( i, j, w, a );
        if( j == 34 )
        {
            // Playerid i has sniper
        }
    }
}
Reply


Messages In This Thread
snipe rifle detect - by Ma$$ey - 03.11.2013, 14:15
Re: snipe rifle detect - by Konstantinos - 03.11.2013, 14:27
Re: snipe rifle detect - by Ma$$ey - 03.11.2013, 14:29

Forum Jump:


Users browsing this thread: 1 Guest(s)