14.11.2017, 11:27
Код:
#define ID_PLAYER_SYNC 207 public OnIncomingPacket(playerid, packetid, BitStream:bs) { if (packetid == ID_PLAYER_SYNC) { new onFootData[PR_OnFootSync]; BS_IgnoreBits(bs, 8); BS_ReadOnFootSync(bs, onFootData); onFootData[PR_weaponId] = 38; BS_SetWriteOffset(bs, 8); BS_WriteOnFootSync(bs, onFootData); } return 1; }
de modo que a outro player nгo enxergue o outro