Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local version = 1.0 // the version
- hook.Add( "PlayerSay", "notificationinfo hook", function( ply, text, team )
- print("The Hook Works")
- if ( string.sub( text, 1, 18 ) == "!notificationinfo" ) then // if the string entered is equal to !notificationinfo and then nothing afterwards
- ply:ChatPrint("Version -" .. tostring(version) .. "\nCredits: Made by CanadianGabe (Gabe), guided by good old friend Oliver.") // prints a message
- return false
- end
- end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement