ax.recognition¶
Source: gamemode/modules/recognition/libraries/sv_recognition.lua
Server-side recognition logic: proximity ticks, chat bonuses, introductions, decay, and admin tools.
Documented functions: 2
Functions¶
ax.recognition:AdminSetFamiliarity(admin, charID, targetID, score)ax.recognition:Introduce(client, targetClient, alias)
ax.recognition:AdminSetFamiliarity(admin, charID, targetID, score)¶
Directly set the familiarity score between two characters (admin tool).
Score is clamped to 0–2000 and saved immediately. Fires OnFamiliarityChanged if the
tier changes. Requires the CAMI privilege "Parallax - Recognition".
Realm: server
Parameters
| Name | Type | Description |
|---|---|---|
admin |
Player |
The admin executing the change |
charID |
number |
The character whose record is being modified |
targetID |
number |
The target character ID |
score |
number |
The new raw score to set |
ax.recognition:Introduce(client, targetClient, alias)¶
Record that client has introduced themselves to targetClient using alias.
Floors the score to ACQUAINTED if currently below, then stores the alias.
Only the client's own familiarity record is updated; the alias is theirs to give.
Realm: server
Parameters
| Name | Type | Description |
|---|---|---|
client |
Player |
The player performing the introduction |
targetClient |
Player |
The player being introduced to |
alias |
string |
The name the client is presenting (1–48 characters) |