stOnFootData pos;
memset(&pos, 0, sizeof(stOnFootData));
pos = SF->getSAMP()->getPlayers()->pLocalPlayer->onFootData;
pos.fPosition[0] = x;
pos.fPosition[1] = y;
pos.fPosition[2] = z;
BitStream PosSync;
PosSync.Write((BYTE)ID_PLAYER_SYNC);
PosSync.Write((PCHAR)&pos, sizeof(stOnFootData));
SF->getRakNet()->SendPacket(&PosSync);