@@ -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 (" isPedWearingJetpack" , DoesPedHaveJetPack); // introduced in 1.5.5-9.13176
33
+ CLuaCFunctions::AddFunction (" isPedWearingJetpack" , DoesPedHaveJetPack); // introduced in 1.5.5-9.13846
34
34
CLuaCFunctions::AddFunction (" isPedOnGround" , IsPedOnGround);
35
35
CLuaCFunctions::AddFunction (" getPedFightingStyle" , GetPedFightingStyle);
36
36
CLuaCFunctions::AddFunction (" getPedWalkingStyle" , GetPedMoveAnim);
@@ -52,7 +52,7 @@ void CLuaPedDefs::LoadFunctions(void)
52
52
CLuaCFunctions::AddFunction (" setPedStat" , SetPedStat);
53
53
CLuaCFunctions::AddFunction (" addPedClothes" , AddPedClothes);
54
54
CLuaCFunctions::AddFunction (" removePedClothes" , RemovePedClothes);
55
- CLuaCFunctions::AddFunction (" setPedWearingJetpack" , SetPedWearingJetpack); // introduced in 1.5.5-9.13176
55
+ CLuaCFunctions::AddFunction (" setPedWearingJetpack" , SetPedWearingJetpack); // introduced in 1.5.5-9.13846
56
56
CLuaCFunctions::AddFunction (" setPedFightingStyle" , SetPedFightingStyle);
57
57
CLuaCFunctions::AddFunction (" setPedWalkingStyle" , SetPedMoveAnim);
58
58
CLuaCFunctions::AddFunction (" setPedGravity" , SetPedGravity);
@@ -94,7 +94,7 @@ void CLuaPedDefs::AddClass(lua_State* luaVM)
94
94
lua_classfunction (luaVM, " removeClothes" , " removePedClothes" );
95
95
lua_classfunction (luaVM, " removeFromVehicle" , " removePedFromVehicle" );
96
96
lua_classfunction (luaVM, " removeJetPack" , " removePedJetPack" );
97
- lua_classfunction (luaVM, " doesHaveJetpack" , " doesPedHaveJetPack" ); // deprecated in 1.5.5-9.13176
97
+ lua_classfunction (luaVM, " doesHaveJetpack" , " doesPedHaveJetPack" ); // deprecated in 1.5.5-9.13846
98
98
99
99
lua_classfunction (luaVM, " isDead" , " isPedDead" );
100
100
lua_classfunction (luaVM, " isDucked" , " isPedDucked" );
@@ -106,7 +106,7 @@ void CLuaPedDefs::AddClass(lua_State* luaVM)
106
106
lua_classfunction (luaVM, " isDoingGangDriveby" , " isPedDoingGangDriveby" );
107
107
lua_classfunction (luaVM, " isFrozen" , " isPedFrozen" );
108
108
lua_classfunction (luaVM, " isHeadless" , " isPedHeadless" );
109
- lua_classfunction (luaVM, " isWearingJetpack" , " isPedWearingJetpack" ); // introduced in 1.5.5-9.13176
109
+ lua_classfunction (luaVM, " isWearingJetpack" , " isPedWearingJetpack" ); // introduced in 1.5.5-9.13846
110
110
111
111
lua_classfunction (luaVM, " getArmor" , " getPedArmor" );
112
112
lua_classfunction (luaVM, " getFightingStyle" , " getPedFightingStyle" );
@@ -136,7 +136,7 @@ void CLuaPedDefs::AddClass(lua_State* luaVM)
136
136
lua_classfunction (luaVM, " setWalkingStyle" , " setPedWalkingStyle" );
137
137
lua_classfunction (luaVM, " setAnimation" , " setPedAnimation" );
138
138
lua_classfunction (luaVM, " setAnimationProgress" , " setPedAnimationProgress" );
139
- lua_classfunction (luaVM, " setWearingJetpack" , " setPedWearingJetpack" ); // introduced in 1.5.5-9.13176
139
+ lua_classfunction (luaVM, " setWearingJetpack" , " setPedWearingJetpack" ); // introduced in 1.5.5-9.13846
140
140
141
141
lua_classvariable (luaVM, " inVehicle" , NULL , " isPedInVehicle" );
142
142
lua_classvariable (luaVM, " ducked" , NULL , " isPedDucked" );
@@ -158,7 +158,7 @@ void CLuaPedDefs::AddClass(lua_State* luaVM)
158
158
GetPedOccupiedVehicle); // what about removePedFromVehicle?
159
159
lua_classvariable (luaVM, " dead" , " killPed" , " isPedDead" ); // Setting this to any value will still kill the ped. Should we special case this?
160
160
lua_classvariable (luaVM, " walkingStyle" , " setPedWalkingStyle" , " getPedWalkingStyle" );
161
- lua_classvariable (luaVM, " jetpack" , " setPedWearingJetpack" , " isPedWearingJetpack" ); // introduced in 1.5.5-9.13176
161
+ lua_classvariable (luaVM, " jetpack" , " setPedWearingJetpack" , " isPedWearingJetpack" ); // introduced in 1.5.5-9.13846
162
162
// lua_classvariable ( luaVM, "stats", "setPedStat", "getPedStat", CLuaOOPDefs::SetPedStat, CLuaOOPDefs::GetPedStat ); // table
163
163
// lua_classvariable ( luaVM, "controlState", "setPedControlState", "getPedControlState", CLuaOOPDefs::SetPedControlState, CLuaOOPDefs::GetPedControlState
164
164
// ); // TODO: .controlState["control"] = value
0 commit comments