i have a big Problem.
I have done my first own GMOD Script…
But it has only an Console Command.
How i can make my own Custom Command?
Command of my Custom Command:
local function nss_command ( ply, text, team )
if string.sub( tet, 1, 8) == "!support" then
ply:nss
end
end
hook.Add( "PlayerSay", "nss_command", nss_command)
Error:
[ERROR] lua/autorun/server/sv_nss.lua:6: function arguments expected near ‘end’
- unknown - lua/autorun/server/sv_nss.lua:0