-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathped.d.ts
94 lines (48 loc) · 3.36 KB
/
ped.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
declare function getPedFightingStyle(thePed: Ped): number
declare function getPedAmmoInClip(thePed: Ped, weaponSlot?: number): number
declare function getPedGravity(thePed: Ped): number
declare function isPedFrozen(thePed: Ped): boolean
declare function getPedOccupiedVehicle(thePed: Ped): Vehicle
declare function setPedStat(thePed: Ped, stat: number, value: number): boolean
declare function addPedClothes(thePed: Ped, clothesTexture: string, clothesModel: string, clothesType: number): boolean
declare function isPedDucked(thePed: Ped): boolean
declare function isPedHeadless(thePed: Ped): boolean
declare function getPedContactElement(thePed: Ped): element
declare function createPed(modelid: number, x: number, y: number, z: number, rot?: 0.0, synced?: true): Ped
declare function createPed(modelid: number, x: number, y: number, z: number, rot?: 0.0): Ped
declare function getPedArmor(thePed: Ped): number
declare function setPedOnFire(thePed: Ped, isOnFire: boolean): boolean
declare function getPedClothes(thePed: Ped, clothesType: number): string
declare function isPedInVehicle(thePed: Ped): boolean
declare function isPedInWater(thePed: Ped): boolean
declare function isPedOnFire(thePed: Ped): boolean
declare function doesPedHaveJetPack(thePed: Ped): boolean
declare function getValidPedModels(): table
declare function getPedWeaponSlot(thePed: Ped): number
declare function killPed(thePed: Ped, theKiller?: Ped, weapon?: 255, bodyPart?: 255, stealth?: false): boolean
declare function reloadPedWeapon(thePed: Ped): boolean
declare function isPedOnGround(thePed: Ped): boolean
declare function getPedWeapon(thePed: Ped, weaponSlot?: number): number
declare function getPedTarget(thePed: Ped): element
declare function isPedDoingGangDriveby(thePed: Ped): boolean
declare function givePedJetPack(thePed: Ped): boolean
declare function getPedWalkingStyle(thePed: Ped): number
declare function getPedStat(thePed: Ped, stat: number): number
declare function isPedChoking(thePed: Ped): boolean
declare function removePedJetPack(thePed: Ped): boolean
declare function getPedOccupiedVehicleSeat(thePed: Ped): number
declare function isPedDead(thePed: Ped): boolean
declare function setPedAnalogControlState(thePed: Ped, control: string, state: number): boolean
declare function setPedWeaponSlot(thePed: Ped, weaponSlot: number): boolean
declare function setPedDoingGangDriveby(thePed: Ped, state: boolean): boolean
declare function setPedFightingStyle(thePed: Ped, style: number): boolean
declare function setPedChoking(thePed: Ped, choking: boolean): boolean
declare function getPedTotalAmmo(thePed: Ped, weaponSlot?: number): number
declare function setPedArmor(thePed: Ped, armor: number): boolean
declare function setPedAnimation(thePed: Ped, block?: string, anim?: string, time?: -1, loop?: true, updatePosition?: true, numbererruptable?: true, freezeLastFrame?: true, blendTime?: 250): boolean
declare function removePedFromVehicle(thePed: Ped): boolean
declare function setPedFrozen(thePed: Ped, frozen: boolean): boolean
declare function setPedGravity(thePed: Ped, gravity: number): boolean
declare function setPedHeadless(thePed: Ped, headState: boolean): boolean
declare function removePedClothes(thePed: Ped, clothesType: number, clothesTexture?: string, clothesModel?: string): boolean
declare function setPedAnimationProgress(thePed: Ped, anim?: string, progress?: number): boolean