Mine
public text v1 · immutablefunction GM:InitPostEntity()
local checkpointent = ents.FindByClass("waverace_checkpoint")
CHECKPOINTSNUM = #checkpointent
for k,v in pairs(checkpointent) do
for a,b in pairs(v:GetKeyValues()) do
if a == "model" then
local id = b:sub(2)
CHECKPOINTS[id] = {}
CHECKPOINTS[id].ent = v
print("Added checkpoint")
end
print(a)
end
end
end