Skip to content
Snippets Groups Projects

Expose RESPAWNST_ Constants To Lua

I honestly thought this had been done already but I guess not. A very simple change that'll help a lot of people doing racer-focused Lua scripts.

Lua:

addHook("MapLoad",function(mn)
	for player in players.iterate do
		CONS_Printf(player,"RESPAWNST_NONE: "..RESPAWNST_NONE)
		CONS_Printf(player,"RESPAWNST_MOVE: "..RESPAWNST_MOVE)
		CONS_Printf(player,"RESPAWNST_DROP: "..RESPAWNST_DROP)
	end
end)

In-Game:

image

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading