• Lua help?
    4 replies, posted
Hey ya'll, how do i make this admin only? hook.Add( "PlayerSay", "spawn entity", function(ply,text) if string.sub(text,1,10) == "/#SpawnEnt" then ent = ents.Create(string.sub(text,12))     ent:SetPos(ply:GetEyeTrace().HitPos)     ent:Spawn() return"" end end)
Please for the love of God use a more descriptive thread title.
you should probably search the gmod wiki for "admin" also wrong section.
thats like 3 people in a row asking ahow to make something admin only, with the very similar format again. assuming the 3 people aren't related
Sorry, you need to Log In to post a reply to this thread.