In S0beit:
F11 > SA:MP Patches > disable onfoot data (if you are on foot) / disable incar data (if you are in car) / disable passager data (if you are passager in a car)
The other players will see you afk in the position where you activated "disable ONFOOT/INCAR/PASSAGER data" and you still can move, but you can't shoot other players, I mean YOU CAN SHOOT THEM but they will do not take damage.
PS: Do not deactivate disable x/x/x data if you are away from the position where you activated it because the anticheat may detect you using TELEPORT HACK.