• Print lines in chat, clientside
    2 replies, posted
Hello, I'm looking for a script. If a person types !fordeler in chat a text will print in chat like this [CODE]1. Line one 2. Line two 3. Line three 4. Line four 5. Line six etc [/CODE] I have the start of the code but I don't know what to do [CODE] function fordelerCommand( pl, text, teamonly ) if text == "!fordeler" or text == "/fordeler" then return "" end end hook.Add( "PlayerSay", "Chat", fordelerCommand )[/CODE] I will use it as a separate lua file
Send a net message from your hook to client, add lines using chat.AddText on client when received the message.
ply:PrintMessage or ply:ChatPrint
Sorry, you need to Log In to post a reply to this thread.