@@ -30,7 +30,7 @@ void CLuaPedDefs::LoadFunctions(void)
3030 CLuaCFunctions::AddFunction (" getPedTotalAmmo" , GetPedTotalAmmo);
3131 CLuaCFunctions::AddFunction (" getPedWeapon" , GetPedWeapon);
3232 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
3434 CLuaCFunctions::AddFunction (" isPedOnGround" , IsPedOnGround);
3535 CLuaCFunctions::AddFunction (" getPedFightingStyle" , GetPedFightingStyle);
3636 CLuaCFunctions::AddFunction (" getPedWalkingStyle" , GetPedMoveAnim);
@@ -52,7 +52,7 @@ void CLuaPedDefs::LoadFunctions(void)
5252 CLuaCFunctions::AddFunction (" setPedStat" , SetPedStat);
5353 CLuaCFunctions::AddFunction (" addPedClothes" , AddPedClothes);
5454 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
5656 CLuaCFunctions::AddFunction (" setPedFightingStyle" , SetPedFightingStyle);
5757 CLuaCFunctions::AddFunction (" setPedWalkingStyle" , SetPedMoveAnim);
5858 CLuaCFunctions::AddFunction (" setPedGravity" , SetPedGravity);
@@ -94,7 +94,7 @@ void CLuaPedDefs::AddClass(lua_State* luaVM)
9494 lua_classfunction (luaVM, " removeClothes" , " removePedClothes" );
9595 lua_classfunction (luaVM, " removeFromVehicle" , " removePedFromVehicle" );
9696 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
9898
9999 lua_classfunction (luaVM, " isDead" , " isPedDead" );
100100 lua_classfunction (luaVM, " isDucked" , " isPedDucked" );
@@ -106,7 +106,7 @@ void CLuaPedDefs::AddClass(lua_State* luaVM)
106106 lua_classfunction (luaVM, " isDoingGangDriveby" , " isPedDoingGangDriveby" );
107107 lua_classfunction (luaVM, " isFrozen" , " isPedFrozen" );
108108 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
110110
111111 lua_classfunction (luaVM, " getArmor" , " getPedArmor" );
112112 lua_classfunction (luaVM, " getFightingStyle" , " getPedFightingStyle" );
@@ -136,7 +136,7 @@ void CLuaPedDefs::AddClass(lua_State* luaVM)
136136 lua_classfunction (luaVM, " setWalkingStyle" , " setPedWalkingStyle" );
137137 lua_classfunction (luaVM, " setAnimation" , " setPedAnimation" );
138138 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
140140
141141 lua_classvariable (luaVM, " inVehicle" , NULL , " isPedInVehicle" );
142142 lua_classvariable (luaVM, " ducked" , NULL , " isPedDucked" );
@@ -158,7 +158,7 @@ void CLuaPedDefs::AddClass(lua_State* luaVM)
158158 GetPedOccupiedVehicle); // what about removePedFromVehicle?
159159 lua_classvariable (luaVM, " dead" , " killPed" , " isPedDead" ); // Setting this to any value will still kill the ped. Should we special case this?
160160 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
162162 // lua_classvariable ( luaVM, "stats", "setPedStat", "getPedStat", CLuaOOPDefs::SetPedStat, CLuaOOPDefs::GetPedStat ); // table
163163 // lua_classvariable ( luaVM, "controlState", "setPedControlState", "getPedControlState", CLuaOOPDefs::SetPedControlState, CLuaOOPDefs::GetPedControlState
164164 // ); // TODO: .controlState["control"] = value
0 commit comments