Skip to content

Commit

Permalink
server: add givePedScriptedTask
Browse files Browse the repository at this point in the history
  • Loading branch information
C0kkie committed Sep 17, 2023
1 parent 5bad099 commit c3b2dae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,9 @@ declare module "alt-server" {

/** @beta */
playerHeal: (player: Player, oldHealth: number, newHealth: number, oldArmour: number, newArmour: number) => void;

/** @alpha */
givePedScriptedTask: (source: Player, target: Ped, task: number) => void | boolean;
}

interface IVehiclePassenger {
Expand Down

0 comments on commit c3b2dae

Please sign in to comment.