-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8738fac
commit 7862693
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# NavBot Global Forwards | ||
|
||
## On Bot Add | ||
|
||
`Action OnPreNavBotAdd()` is called when a bot is about to be added to the game. | ||
|
||
Returning anything higher than `Plugin_Continue` will block the bot from being added to the game. | ||
|
||
`void OnNavBotAdded(int bot)` is called after a bot has been added to the game. | ||
|
||
* `int bot`: Client index of the bot that was just added. | ||
|
||
## On Create Plugin Bot | ||
|
||
`Action OnPrePluginBotAdd(int entity)` is called when a plugin has requested to attach a NavBot Plugin Bot instance on the given entity. | ||
|
||
Returning anything higher than `Plugin_Continue` will block the plugin bot from being created. | ||
|
||
* `int entity`: Client index that the plugin bot will attach to. | ||
|
||
`void OnPluginBotAdded(int entity)` is called after a plugin bot was created. | ||
|
||
* `int entity`: Client index that the plugin bot will attach to. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
# SourcePawn API | ||
|
||
* [Natives] | ||
* [Forwards] | ||
* [Plugin Bot] | ||
|
||
<!-- LINKS --> | ||
|
||
[Natives]: NATIVES.md | ||
[Forwards]: FORWARDS.md | ||
[Plugin Bot]: PLUGIN_BOTS.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters