Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[-------------------------------------------------------------------------
- You are free to use, distribute and change this module, as long as you keep
- this text here - and/or credit me:
- Made by Fillipuster :D
- ---------------------------------------------------------------------------]]
- IMPERIALCOMMS = IMPERIALCOMMS or {}
- --[[-------------------------------------------------------------------------
- CLASSIC ADVERT CONFIG
- ---------------------------------------------------------------------------]]
- -- The prefix before the adverted text (but after the sending player's name).
- IMPERIALCOMMS.chatPrefix = "[Imperial-Comms]"
- -- The color of the text in the advert (Originally yellow).
- IMPERIALCOMMS.advertTextColor = Color( 255, 255, 0, 255 )
- -- The failure message id the players fails to provide text for the advert.
- IMPERIALCOMMS.failMessage = "You need to provide text for your advert."
- -- The chat command for adverts. (A "/" is added at the front automatically.)
- IMPERIALCOMMS.chatCommand = "icomms" -- Please, do not use "/advert" as it is used for the new advert system in DarkRP.
- -- The F1 (help menu) description of the advert command.
- IMPERIALCOMMS.commandDescription = "Message all players on the server."
- -- The delay (in seconds) between players being able to advert.
- IMPERIALCOMMS.commandDelay = 3
- --[[-------------------------------------------------------------------------
- END OF CONFIG
- ---------------------------------------------------------------------------]]
- DarkRP.declareChatCommand{
- command = IMPERIALCOMMS.chatCommand,
- description = IMPERIALCOMMS.commandDescription,
- delay = IMPERIALCOMMS.commandDelay
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement