Acctually I tried, but:
p->pszAmmo1 = "556Nato";
it's a string, and all I can send here are the int values.
Anyway, the 556Nato ammo ID is 2 i think, but not really sure.
Now the code looks like:
PHP Code:
message_begin( MSG_ONE, MsgIndexWeaponList, .player = player );
{
write_string( "weapon_sr25" ); // WeaponName
write_byte( 2 ); // PrimaryAmmoID
write_byte( 90 ); // PrimaryAmmoMaxAmount
write_byte( 0 ); // SecondaryAmmoID
write_byte( -1 ); // SecondaryAmmoMaxAmount
write_byte( 0 ); // SlotID (0...N)
write_byte( 16 ); // NumberInSlot (1...N)
write_byte( CSW_SG550 ); // WeaponID
write_byte( 0 ); // Flags
}
message_end();
Still not working properly...