-
Notifications
You must be signed in to change notification settings - Fork 29
OnFootSync
Nexius edited this page Mar 15, 2020
·
23 revisions
Destination:
Incoming/Outcoming
Description:
Called every time a player updates his state on foot.
Related SA-MP callbacks:
- OnPlayerUpdate (when player state is PLAYER_STATE_ONFOOT)
Example (as incoming packet):
const PLAYER_SYNC = 207;
IPacket:PLAYER_SYNC(playerid, BitStream:bs)
{
new onFootData[PR_OnFootSync];
BS_IgnoreBits(bs, 8);
BS_ReadOnFootSync(bs, onFootData);
//Anything you want to see here
return 1;
}
- Refer to BrunoBM16's RPC and Packet lists