mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-10-13 18:04:54 +02:00
resolves #71
This commit is contained in:
@@ -328,6 +328,12 @@ function vocation_id_to_name($id) {
|
||||
return ($vocations[$id] >= 0) ? $vocations[$id] : false;
|
||||
}
|
||||
|
||||
// Parameter: players.group_id. Returns: Configured group name.
|
||||
function group_id_to_name($id) {
|
||||
$positions = config('ingame_positions');
|
||||
return ($positions[$id] >= 0) ? $positions[$id] : false;
|
||||
}
|
||||
|
||||
function gender_exist($gender) {
|
||||
// Range of allowed gender ids, fromid toid
|
||||
if ($gender >= 0 && $gender <= 1) {
|
||||
|
Reference in New Issue
Block a user