@@ -30,7 +30,7 @@ void CLuaPedDefs::LoadFunctions(void)
30
30
CLuaCFunctions::AddFunction (" getPedTotalAmmo" , GetPedTotalAmmo);
31
31
CLuaCFunctions::AddFunction (" getPedWeapon" , GetPedWeapon);
32
32
CLuaCFunctions::AddFunction (" getPedClothes" , GetPedClothes);
33
- CLuaCFunctions::AddFunction (" doesPedHaveJetPack" , DoesPedHaveJetPack);
33
+ CLuaCFunctions::AddFunction (" doesPedHaveJetPack" , DoesPedHaveJetPack); // deprecated since 1.5.5-9.13176
34
34
CLuaCFunctions::AddFunction (" isPedWearingJetpack" , DoesPedHaveJetPack); // introduced in 1.5.5-9.13176
35
35
CLuaCFunctions::AddFunction (" isPedOnGround" , IsPedOnGround);
36
36
CLuaCFunctions::AddFunction (" getPedFightingStyle" , GetPedFightingStyle);
@@ -53,9 +53,9 @@ void CLuaPedDefs::LoadFunctions(void)
53
53
CLuaCFunctions::AddFunction (" setPedStat" , SetPedStat);
54
54
CLuaCFunctions::AddFunction (" addPedClothes" , AddPedClothes);
55
55
CLuaCFunctions::AddFunction (" removePedClothes" , RemovePedClothes);
56
- CLuaCFunctions::AddFunction (" givePedJetPack" , GivePedJetPack);
57
- CLuaCFunctions::AddFunction (" removePedJetPack" , RemovePedJetPack);
58
- CLuaCFunctions::AddFunction (" setPedWearingJetpack" , SetPedWearingJetpack);
56
+ CLuaCFunctions::AddFunction (" givePedJetPack" , GivePedJetPack); // deprecated in 1.5.5-9.13176
57
+ CLuaCFunctions::AddFunction (" removePedJetPack" , RemovePedJetPack); // deprecated in 1.5.5-9.13176
58
+ CLuaCFunctions::AddFunction (" setPedWearingJetpack" , SetPedWearingJetpack); // introduced in 1.5.5-9.13176
59
59
CLuaCFunctions::AddFunction (" setPedFightingStyle" , SetPedFightingStyle);
60
60
CLuaCFunctions::AddFunction (" setPedWalkingStyle" , SetPedMoveAnim);
61
61
CLuaCFunctions::AddFunction (" setPedGravity" , SetPedGravity);
@@ -97,8 +97,7 @@ void CLuaPedDefs::AddClass(lua_State* luaVM)
97
97
lua_classfunction (luaVM, " removeClothes" , " removePedClothes" );
98
98
lua_classfunction (luaVM, " removeFromVehicle" , " removePedFromVehicle" );
99
99
lua_classfunction (luaVM, " removeJetPack" , " removePedJetPack" );
100
- lua_classfunction (luaVM, " doesHaveJetpack" , " doesPedHaveJetPack" );
101
- lua_classfunction (luaVM, " setWearingJetpack" , " setPedWearingJetpack" );
100
+ lua_classfunction (luaVM, " doesHaveJetpack" , " doesPedHaveJetPack" ); // deprecated in 1.5.5-9.13176
102
101
103
102
lua_classfunction (luaVM, " isDead" , " isPedDead" );
104
103
lua_classfunction (luaVM, " isDucked" , " isPedDucked" );
@@ -138,9 +137,9 @@ void CLuaPedDefs::AddClass(lua_State* luaVM)
138
137
lua_classfunction (luaVM, " setStat" , " setPedStat" );
139
138
lua_classfunction (luaVM, " setWeaponSlot" , " setPedWeaponSlot" );
140
139
lua_classfunction (luaVM, " setWalkingStyle" , " setPedWalkingStyle" );
141
-
142
140
lua_classfunction (luaVM, " setAnimation" , " setPedAnimation" );
143
141
lua_classfunction (luaVM, " setAnimationProgress" , " setPedAnimationProgress" );
142
+ lua_classfunction (luaVM, " setWearingJetpack" , " setPedWearingJetpack" ); // introduced in 1.5.5-9.13176
144
143
145
144
lua_classvariable (luaVM, " inVehicle" , NULL , " isPedInVehicle" );
146
145
lua_classvariable (luaVM, " ducked" , NULL , " isPedDucked" );
0 commit comments