Skip to content

Fix runtime bugs and validation errors in spawnmanager - #740

Open
iManGaaX wants to merge 1 commit into
multitheftauto:masterfrom
iManGaaX:patch-2
Open

Fix runtime bugs and validation errors in spawnmanager#740
iManGaaX wants to merge 1 commit into
multitheftauto:masterfrom
iManGaaX:patch-2

Conversation

@iManGaaX

@iManGaaX iManGaaX commented Sep 2, 2026

Copy link
Copy Markdown
  • Fixed variable assignment in setSpawnpointTeam (skin was wrongly used instead of team).
  • Corrected dimension parameter check in createSpawnpoint (was checking skin twice).
  • Fixed debug string function names in getSpawnpointRotation, getSpawnpointSkin, and getSpawnpointTeam.
  • Added empty array check in getRandomSpawnpoint to prevent math.random range errors when no spawnpoints exist.
  • Added isElement validation inside waveSpawnPlayers to prevent spawning disconnected players.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant