diff --git a/src/Components/Modules/GSC/GSC.cpp b/src/Components/Modules/GSC/GSC.cpp index 5275147..9d985c3 100644 --- a/src/Components/Modules/GSC/GSC.cpp +++ b/src/Components/Modules/GSC/GSC.cpp @@ -28,7 +28,7 @@ namespace Components void GSC::AddMethods() { - GSC::AddMethod("allowFire", [](Game::scr_entref_t entref) + GSC::AddMethod("AllowFire", [](Game::scr_entref_t entref) { const auto* ent = Game::GetPlayerEntity(entref); @@ -72,7 +72,7 @@ namespace Components return Game::Scr_AddInt(false); }, false); - GSC::AddMethod("isMantling", [](Game::scr_entref_t entref) + GSC::AddMethod("IsMantling", [](Game::scr_entref_t entref) { const auto* ent = Game::GetPlayerEntity(entref); if (ent->client->ps.pm_flags & Game::PMF_MANTLE) @@ -81,7 +81,7 @@ namespace Components return Game::Scr_AddInt(false); }, false); - GSC::AddMethod("isSwapping", [](Game::scr_entref_t entref) + GSC::AddMethod("IsSwapping", [](Game::scr_entref_t entref) { const auto* ent = Game::GetPlayerEntity(entref); if (ent->client->ps.weaponstate >= Game::WEAPON_DROPPING && ent->client->ps.weaponstate <= Game::WEAPON_DROPPING_QUICK) @@ -93,7 +93,7 @@ namespace Components void GSC::AddFunctions() { - GSC::AddFunction("exec", [] + GSC::AddFunction("Exec", [] { const auto str = Game::Scr_GetString(0);