Advertisement
Guest User

Untitled

a guest
Dec 17th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. --[[-------------------------------------------------------------------------
  2. You are free to use, distribute and change this module, as long as you keep
  3. this text here - and/or credit me:
  4.  
  5. Made by Fillipuster :D
  6. ---------------------------------------------------------------------------]]
  7.  
  8. CLASSICADVERT = CLASSICADVERT or {}
  9.  
  10. --[[-------------------------------------------------------------------------
  11. CLASSIC ADVERT CONFIG
  12. ---------------------------------------------------------------------------]]
  13.  
  14. -- The prefix before the adverted text (but after the sending player's name).
  15. CLASSICADVERT.chatPrefix = "[Anuncio]"
  16.  
  17. -- The color of the text in the advert (Originally yellow).
  18. CLASSICADVERT.advertTextColor = Color( 255, 255, 0, 255 )
  19.  
  20. -- The failure message id the players fails to provide text for the advert.
  21. CLASSICADVERT.failMessage = "Tenes Que poner algo en el anuncio."
  22.  
  23. -- The chat command for adverts. (A "/" is added at the front automatically.)
  24. CLASSICADVERT.chatCommand = "anuncio" -- Please, do not use "/advert" as it is used for the new advert system in DarkRP.
  25.  
  26. -- The F1 (help menu) description of the advert command.
  27. CLASSICADVERT.commandDescription = "Message all players on the server."
  28.  
  29. -- The delay (in seconds) between players being able to advert.
  30. CLASSICADVERT.commandDelay = 3
  31.  
  32. --[[-------------------------------------------------------------------------
  33. END OF CONFIG
  34. ---------------------------------------------------------------------------]]
  35.  
  36. DarkRP.declareChatCommand{
  37. command = CLASSICADVERT.chatCommand,
  38. description = CLASSICADVERT.commandDescription,
  39. delay = CLASSICADVERT.commandDelay
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement