Skip to content

Commit

Permalink
Update AnomalyDetection_DistributedComputing.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AqwamCreates authored Oct 14, 2023
1 parent 5a29b7f commit 9d69dd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ExampleCodes/AnomalyDetection_DistributedComputing.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ AnomalyDetector:bindToMissingData(function(WatchingPlayer, WatchedPlayer, curren

end)

AnomalyDetector:bindToPredictedValueReceived(function(WatchingPlayer, WatchedPlayer, predictedValue, fullDataVector) -- Runs a function on predicted value received
AnomalyDetector:bindToPredictedValueReceived(function(WatchingPlayer, WatchedPlayer, predictedValue, fullDataVector) -- Runs a function on predicted value received.

print(WatchedPlayer.Name .. " has missing data!")

local distance = fullDataVector[14]

end)

AnomalyDetector:bindToClientAccessedRemoteEvent(function(Player) -- Runs a function if cannot create a data vector.
AnomalyDetector:bindToClientAccessedRemoteEvent(function(Player) -- Runs a function if a client has an unauthorized access to client.

print(Player.Name .. " tried to access remote events!")

Expand Down

0 comments on commit 9d69dd2

Please sign in to comment.