Back yet again everyone!
Now, i need some assistance, it seems that I cant get my menu to even come up, with a chat command for the moment, (Though in the future i want it so be triggered to oen when one player is alive on a certain team, so if you guys could simply help with that, itd be nice, but I digress) I thought what I had worked, but doesnt.
heres what i have
[lua]function lps_menu( ply, text, public )
if (string.sub(string.lower(text), 1, 5) == “!lps”) then
local args = string.Explode( " ", text )
if #args == 1 then
ply:ConCommand( “lps_menu” )
table.remove( args, 1 )
lps_menu( ply, _, args )
–ply:ConCommand( "lps_menu " … table.concat( args, " ", 2 ) )
hook.Add( “PlayerSay”, “lps_menu”, lps_menu )
concommand.Add( “lps_menu”, function( ply, _, args )
if IsValid(ply) then return end
if #args ~= 1 then return end
local uid = args lps_menu( uid, ply )