Function: SetBotAccessMode(player, permission, mode)
Description: Sets the recruitment-access property and audits an accepted setting when connected. Accepting an unchanged mode still returns true.
Parameters:
player: player spawn. permission: exact string "recruit". Case-insensitive mode: inherit, deny, npc, or direct.
Returns: True for accepted input; false otherwise.
Connection lifetime: Each player or group-member connection resolved by this function is retained through the native call. A disconnect or reconnect during a callback cannot destroy that retained connection or switch the ongoing call to a replacement. A later Lua call resolves the current connection. This does not extend the lifetime of unrelated spawn or item userdata.
Original Player ownership: The property change and its audit belong to the original Player supplied to Lua. A callback or reconnect cannot move the audit to a replacement Player attached to the same connection.