ConnectNPC
Connect an NPC to the server.
Connect an NPC to the server.
Get position of the NPC
Check if a player is an actual player or an NPC.
Constants used in NPC functions and callbacks.
Adds a waypoint to an NPC path.
Makes an NPC aim at a specific position.
Makes an NPC aim at a player.
Applies a specific animation to an NPC.
Changes the node an NPC is currently playing.
Clears all animations from an NPC.
Clears all points from an NPC path.
Closes an NPC node, making it unavailable for use.
Creates a new NPC.
Creates a new NPC path.
Destroys an NPC.
Destroys all NPC paths.
Destroys a specific NPC path.
Enables or disables infinite ammo for an NPC.
Enables or disables automatic reloading for an NPC.
Makes an NPC enter a vehicle.
Makes an NPC exit its current vehicle.
Gets all NPC IDs and stores them in an array.
Gets the ammunition amount for an NPC's current weapon.
Gets the ammunition in the current clip of an NPC's weapon.
Gets the current animation data of an NPC.
Gets the armour value of an NPC.
Gets the current path point index an NPC is moving towards.
Gets the custom skin ID of an NPC.
Gets the vehicle an NPC is currently entering.
Gets the vehicle ID an NPC is currently entering.
Gets the seat an NPC is entering in a vehicle.
Gets the facing angle of an NPC.
Gets the fighting style of an NPC.
Gets the health value of an NPC.
Gets the interior ID of an NPC.
Gets the current key states of an NPC.
Gets information about an NPC node.
Gets the number of points in an NPC node.
Gets the position of the current point in an NPC node.
Gets the type of an NPC node.
Gets the total number of NPC paths on the server.
Gets the coordinates and stop range of a specific point in an NPC path.
Gets the number of points in an NPC path.
Gets the ID of the player that an NPC is currently aiming at.
Gets the ID of the player that an NPC is currently moving toward.
Gets the position of an NPC.
Gets the position that the NPC is currently moving toward.
Gets the number of loaded NPC recording files.
Gets the rotation of an NPC.
Gets the skin/model ID of an NPC.
Gets the current special action of an NPC.
Gets the object an NPC is surfing on.
Gets the surfing offset for an NPC.
Gets the player object an NPC is surfing on.
Gets the vehicle an NPC is surfing on.
Gets the vehicle ID of an NPC's current vehicle.
Gets the landing gear state of an NPC's aircraft.
Gets the health of an NPC's vehicle.
Gets the thruster direction of an NPC's Hydra vehicle.
Gets the vehicle ID of an NPC's current vehicle.
Gets the seat ID of an NPC in a vehicle.
Gets the train speed for an NPC driving a train.
Gets the velocity of an NPC.
Gets the virtual world an NPC is in.
Gets the current weapon an NPC is holding.
Gets the accuracy setting for an NPC's weapon.
Gets the actual (default) clip size for an NPC's weapon.
Gets the actual (default) reload time for an NPC's weapon.
Gets the clip size setting for an NPC's weapon.
Gets the reload time of an NPC's weapon.
Gets the shoot time of an NPC's weapon.
Gets the weapon skill level of an NPC.
Gets the weapon state of an NPC.
Checks if a path has any point within the specified range from given coordinates.
Checks if an NPC is currently aiming.
Checks if an NPC is aiming at a specific player.
Checks if an NPC is streamed in for any player.
Checks if an NPC is dead.
Checks if an NPC is currently entering a vehicle.
Checks if infinite ammo is enabled for an NPC.
Checks if an NPC is invulnerable to damage.
Checks if an NPC is performing a melee attack.
Checks if an NPC is currently moving.
Checks if an NPC is moving toward a specific player.
Checks if an NPC node is open.
Checks if an NPC's playback is paused.
Checks if an NPC is currently playing a node.
Checks if an NPC's node playing is currently paused.
Checks if an NPC is playing a recording playback.
Checks if automatic reloading is enabled for an NPC.
Checks if an NPC is currently reloading their weapon.
Checks if an NPC is currently shooting.
Checks if an NPC is spawned in the game world.
Checks if an NPC is streamed in for a specific player.
Checks if an NPC ID is valid.
Checks if a path ID is valid and exists.
Checks if a recording file is valid and loaded.
Checks if an NPC is using the vehicle siren.
Kills an NPC with a specific weapon/reason.
Loads an NPC recording file for playback.
Makes an NPC perform a melee attack.
Makes an NPC move to a specific position.
Makes an NPC follow a predefined path.
Makes an NPC move toward and follow a player.
Opens an NPC node for use.
Pauses or unpauses an NPC's recording playback.
Pauses an NPC's node navigation.
Makes an NPC navigate through predefined navigation nodes.
Puts an NPC into a vehicle at a specific seat.
Removes an NPC from their current vehicle.
Removes a waypoint from an NPC path.
Resets an NPC's current animation to default.
Resets all surfing data for an NPC.
Respawns an NPC to their spawn position, resetting their state.
Resumes paused node navigation for an NPC.
Sets the ammunition count for an NPC's current weapon.
Sets the amount of ammo in an NPC's weapon clip.
Rotates an NPC to face a specific player.
Rotates an NPC so it faces a specific world position.
Sets an animation for an NPC by animation ID.
Sets an NPC's armour level.
Sets an NPC's facing angle.
Sets an NPC's fighting style for melee combat.
Sets the health value of an NPC.
Sets the interior of an NPC.
Sets whether an NPC is invulnerable to damage.
Sets the key states for an NPC.
Sets a point in an NPC node.
Sets the position of an NPC.
Sets an NPC's rotation on all axes.
Sets an NPC's skin model.
Sets an NPC's special action state.
Sets the object an NPC is surfing on.
Sets the surfing offset for an NPC.
Sets the player object an NPC is surfing on.
Sets the vehicle an NPC is surfing on.
Sets an NPC's aircraft landing gear state.
Sets the health of an NPC's vehicle.
Sets the Hydra thruster direction for an NPC's vehicle.
Sets the speed of an NPC's train vehicle.
Sets the velocity of an NPC.
Sets an NPC's virtual world.
Sets an NPC's current weapon.
Sets the accuracy of a specific weapon for an NPC.
Sets the clip size for an NPC's weapon.
Sets the reload time for an NPC's weapon.
Sets the shooting interval for an NPC's weapon.
Sets the weapon skill level for an NPC.
Sets the weapon state of an NPC.
Makes an NPC fire a weapon shot.
Spawns an NPC into the game world.
Starts playing a recording file for an NPC.
Starts playback for an NPC using a pre-loaded recording ID with extended options.
Stops an NPC from aiming.
Stops an NPC from performing melee attacks.
Stops an NPC from moving.
Stops an NPC from playing a recording.
Stops an NPC from playing a node.
Unloads all NPC recording files from memory.
Unloads a specific NPC recording from memory.
Updates an NPC to a specific point in the currently playing node.
Makes an NPC use or stop using a vehicle siren.
This callback is called when an NPC attempts to change from one navigation node to another during node-based movement.
This callback is called when an NPC is successfully created.
This callback is called when an NPC dies.
This callback is called when an NPC is destroyed.
This callback is called when an NPC finishes moving to its target destination.
This callback is called when an NPC finishes moving along a predefined path.
Called when an NPC finishes moving to a specific point in a path.
This callback is called when an NPC finishes navigating a complete node.
This callback is called when an NPC reaches a specific point during node-based navigation.
This callback is called when an NPC gives damage to a player.
This callback is called when an NPC finishes playback of a recorded file.
This callback is called when an NPC starts playback of a recorded file.
This callback is called when an NPC respawns.
This callback is called when an NPC spawns.
This callback is called when an NPC takes damage.
This callback is called when an NPC fires a weapon.
This callback is called when an NPC's weapon state changes.
Set position of the NPC