22.03.2019, 06:54
Code:
const GiveOrTake = 115; IRPC:GiveOrTake(playerid, BitStream:bs) { new data[PR_OnGiveTake]; BS_IgnoreBits(bs, 8); BS_ReadGiveOrTake(BitStream:bs, data); printf( "GiveOrTake[%d], bGiveOrTake: %d, wPlayerID: %d, damage_amount: %f, dWeaponID: %d, dBodypart: %d", playerid, data[Pr_bGiveOrTake], data[Pr_wPlayerID], data[Pr_damage_amount], data[Pr_dWeaponID], data[Pr_dBodypart] ); return 1; }
Code:
GiveOrTake[1], bGiveOrTake: 0, wPlayerID: 52480, damage_amount: 0.000000, dWeaponID: 50331648, dBodypart: 0