Skip to content

Commit 1b9e008

Browse files
committed
Add jetpack variable to ped class
1 parent 5ca6e65 commit 1b9e008

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Server/mods/deathmatch/logic/luadefs/CLuaPedDefs.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ void CLuaPedDefs::AddClass(lua_State* luaVM)
162162
GetPedOccupiedVehicle); // what about removePedFromVehicle?
163163
lua_classvariable(luaVM, "dead", "killPed", "isPedDead"); // Setting this to any value will still kill the ped. Should we special case this?
164164
lua_classvariable(luaVM, "walkingStyle", "setPedWalkingStyle", "getPedWalkingStyle");
165+
lua_classvariable(luaVM, "jetpack", "setPedJetPack", "doesPedHaveJetPack");
165166
// lua_classvariable ( luaVM, "stats", "setPedStat", "getPedStat", CLuaOOPDefs::SetPedStat, CLuaOOPDefs::GetPedStat ); // table
166167
// lua_classvariable ( luaVM, "controlState", "setPedControlState", "getPedControlState", CLuaOOPDefs::SetPedControlState, CLuaOOPDefs::GetPedControlState
167168
// ); // TODO: .controlState["control"] = value

0 commit comments

Comments
 (0)