Getting the weapon slot of the armed weapon
#4

pawn Код:
new
    Weapons = 0, Ammo, Msg[ 64 ];
   
for( new i = 0; i < 13; i ++ )
{
    GetPlayerWeaponData( playerid, i, Weapons, Ammo );
    if( Weapons != 0 )
    {
        format( Msg, sizeof( Msg ), "%d: %d (%d)", i, Weapons, Ammo );
        SendClientMessage( playerid, -1, Msg );
    }
}
Reply


Messages In This Thread
Getting the weapon slot of the armed weapon - by milanosie - 04.02.2012, 11:24
Re: Getting the weapon slot of the armed weapon - by Konstantinos - 04.02.2012, 11:26
Re: Getting the weapon slot of the armed weapon - by milanosie - 04.02.2012, 11:29
Re: Getting the weapon slot of the armed weapon - by Konstantinos - 04.02.2012, 11:37
Re: Getting the weapon slot of the armed weapon - by milanosie - 04.02.2012, 11:39
Re: Getting the weapon slot of the armed weapon - by Universal - 04.02.2012, 12:10
Re: Getting the weapon slot of the armed weapon - by milanosie - 04.02.2012, 12:12

Forum Jump:


Users browsing this thread: 1 Guest(s)