mirror of
				https://github.com/mt-mods/playerfactions.git
				synced 2025-10-26 14:15:28 +01:00 
			
		
		
		
	Update README.md
This commit is contained in:
		| @@ -61,7 +61,7 @@ I strongly recommend reading through the `init.lua` file; the functions at the t | ||||
|   }} | ||||
| ``` | ||||
| - `get_player_faction(player)`: Get a string with the faction a player belongs to, `nil` if they haven't joined a faction. In multi-faction mode, it will return the oldest created faction which player is into. (it's not necessarily the one they joined first. It checks the facts variable from the top) | ||||
| - `get_player_factions(player)`: Get a table with the faction(s) a player belongs to, `nil` if they haven't joined a faction : {name_of_faction1, name_of_faction2} | ||||
| - `get_player_factions(player)`: Get a table with the faction(s) a player belongs to, `nil` if they haven't joined a faction. The structure is: {name_of_faction1, name_of_faction2} | ||||
| - `get_owner(faction)`: Get the owner of a faction | ||||
| - `chown(fname, owner)`: Change the owner of a faction | ||||
| - `register_faction(faction, player, password)`: Create a new faction | ||||
|   | ||||
		Reference in New Issue
	
	Block a user