Recognize
Handles players being able to know other people.
Functions
Player:InitializeKnownPlayers()
This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.
This is a deprecated function! You are able to use it, but you risk breaking code when the function is eventually removed..
Init function.
Player:RefreshKnown(currentData)
This is a deprecated function! You are able to use it, but you risk breaking code when the function is eventually removed..
Refresh memory for player.
Parameters
-
currentData
Player:Remember(target)
This is an internal function! You are able to use it, but you risk unintended side effects if used incorrectly.
This is a deprecated function! You are able to use it, but you risk breaking code when the function is eventually removed..
Remembers the target, their name will always appear for the given team. This method is quite expensive, as it will sync a lot of values to players and the Database. So use it sparingly or just let the framework do it's thing.
Parameters
-
target
Entity
The player to remember.
Player:ResetMemory(target)
This is a deprecated function! You are able to use it, but you risk breaking code when the function is eventually removed..
Resets memory for target.
Parameters
-
target
Entity
The person to forget.