local reserve = "steamid here"
function AReserve(ply)
local CurPlys = #player.GetAll()
local SlotsOpen = (maxplayers:GetInt() - Curplys)
if SlotsOpen == 1 then
if table.getn(player.GetAll()) then
for k,v in pairs(player.GetAll()) do
if string.find( k:SteamID(), reserve) then
local reserveSlot = "No"
return
else
local reserveSlot = "Yes"
end
if reserveSlot == "Yes" then
ULib.kick(ply,"Sorry This Slot Is Reserved")
end
end
end
end
end
hook.Add("PlayerInitialSpawn", "AReserve_hook", AReserve )
Not tested, but should only allow the steamid placed there to fill the final slot if it's not already in the server.