fn_selfActions gives a removal option for anything with is in the "removeable" array, which is created from the build array.
When you select remove, it runs the player_remove.sqf and in there that checks whether you are the owner, whether you are trying to remove by code, or whether you are...