diff options
| author | aura <nw@moneybot.cc> | 2026-04-25 22:46:52 +0200 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-04-25 22:46:52 +0200 |
| commit | 216c729c8762f4d0388d8750905a91fe1de64ccf (patch) | |
| tree | 72f0f2f201f7156f220a46a1837c2768abdbb278 /source/sourcemod/scripting/gokz-core/misc.sp | |
| parent | 6018b8161bdc2bc7eee15500fbd9658d8ad0fc3f (diff) | |
wip on removing gokz gamemode features
Diffstat (limited to 'source/sourcemod/scripting/gokz-core/misc.sp')
| -rw-r--r-- | source/sourcemod/scripting/gokz-core/misc.sp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/sourcemod/scripting/gokz-core/misc.sp b/source/sourcemod/scripting/gokz-core/misc.sp index a117880..ae44a1d 100644 --- a/source/sourcemod/scripting/gokz-core/misc.sp +++ b/source/sourcemod/scripting/gokz-core/misc.sp @@ -208,7 +208,7 @@ void OnPlayerRunCmd_Turnbinds(int client, int buttons, int tickcount, float angl void OnPlayerSpawn_PlayerCollision(int client) { // Let players go through other players - SetEntProp(client, Prop_Send, "m_CollisionGroup", GOKZ_COLLISION_GROUP_STANDARD); + // SetEntProp(client, Prop_Send, "m_CollisionGroup", GOKZ_COLLISION_GROUP_STANDARD); } void OnSetModel_PlayerCollision(int client) @@ -230,7 +230,7 @@ void OnSetModel_PlayerCollision(int client) void OnRoundStart_ForceAllTalk() { - gCV_sv_full_alltalk.BoolValue = true; + // gCV_sv_full_alltalk.BoolValue = true; } @@ -350,7 +350,10 @@ void JoinTeam(int client, int newTeam, bool restorePos, bool forceBroadcast = fa // Need to teleport the player to a valid one. float spawnOrigin[3]; float spawnAngles[3]; - GetValidSpawn(spawnOrigin, spawnAngles); + if (newTeam == CS_TEAM_CT) + GetValidSpawnCT(spawnOrigin, spawnAngles); + else + GetValidSpawnT(spawnOrigin, spawnAngles); TeleportPlayer(client, spawnOrigin, spawnAngles); } hasSavedPosition[client] = false; |
