Hi, so all im trying to do is make a chat command that runs the console command “adminbuddy”… and i cant xD
My code is:
function myChatCommand( ply, text, public )
if( string.sub( text, 1, 5) == “/logs” ) then
hook.Add( “PlayerSay”, “myChatCommand”, myChatCommand )
And it doesnt work, please help, thanks in advance!
PS: i do have the tabs in they just didnt paste in the thread