mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
parent
161d375532
commit
b20a5d412e
2 changed files with 9 additions and 0 deletions
|
|
@ -4963,6 +4963,11 @@ struct int_const_s const INT_CONST[] = {
|
||||||
{"BT_DRIFT",BT_DRIFT},
|
{"BT_DRIFT",BT_DRIFT},
|
||||||
{"BT_BRAKE",BT_BRAKE},
|
{"BT_BRAKE",BT_BRAKE},
|
||||||
{"BT_ATTACK",BT_ATTACK},
|
{"BT_ATTACK",BT_ATTACK},
|
||||||
|
{"BT_LOOKBACK",BT_LOOKBACK},
|
||||||
|
{"BT_RESPAWN",BT_RESPAWN},
|
||||||
|
{"BT_VOTE",BT_VOTE},
|
||||||
|
{"BT_EBRAKEMASK",BT_EBRAKEMASK}, // Macro button
|
||||||
|
{"BT_SPINDASHMASK",BT_SPINDASHMASK}, // Macro button
|
||||||
{"BT_LUAA",BT_LUAA}, // Lua customizable
|
{"BT_LUAA",BT_LUAA}, // Lua customizable
|
||||||
{"BT_LUAB",BT_LUAB}, // Lua customizable
|
{"BT_LUAB",BT_LUAB}, // Lua customizable
|
||||||
{"BT_LUAC",BT_LUAC}, // Lua customizable
|
{"BT_LUAC",BT_LUAC}, // Lua customizable
|
||||||
|
|
|
||||||
|
|
@ -294,6 +294,8 @@ static int player_get(lua_State *L)
|
||||||
lua_pushinteger(L, plr->gateBoost);
|
lua_pushinteger(L, plr->gateBoost);
|
||||||
else if (fastcmp(field,"gatesound"))
|
else if (fastcmp(field,"gatesound"))
|
||||||
lua_pushinteger(L, plr->gateSound);
|
lua_pushinteger(L, plr->gateSound);
|
||||||
|
else if (fastcmp(field,"startboost"))
|
||||||
|
lua_pushinteger(L, plr->startboost);
|
||||||
else if (fastcmp(field,"aizdriftstraft"))
|
else if (fastcmp(field,"aizdriftstraft"))
|
||||||
lua_pushinteger(L, plr->aizdriftstrat);
|
lua_pushinteger(L, plr->aizdriftstrat);
|
||||||
else if (fastcmp(field,"aizdriftextend"))
|
else if (fastcmp(field,"aizdriftextend"))
|
||||||
|
|
@ -856,6 +858,8 @@ static int player_set(lua_State *L)
|
||||||
plr->gateBoost = luaL_checkinteger(L, 3);
|
plr->gateBoost = luaL_checkinteger(L, 3);
|
||||||
else if (fastcmp(field,"gatesound"))
|
else if (fastcmp(field,"gatesound"))
|
||||||
plr->gateSound = luaL_checkinteger(L, 3);
|
plr->gateSound = luaL_checkinteger(L, 3);
|
||||||
|
else if (fastcmp(field,"startboost"))
|
||||||
|
plr->startboost = luaL_checkinteger(L, 3);
|
||||||
else if (fastcmp(field,"aizdriftstraft"))
|
else if (fastcmp(field,"aizdriftstraft"))
|
||||||
plr->aizdriftstrat = luaL_checkinteger(L, 3);
|
plr->aizdriftstrat = luaL_checkinteger(L, 3);
|
||||||
else if (fastcmp(field,"aizdrifttilt"))
|
else if (fastcmp(field,"aizdrifttilt"))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue