Raised This Month: $12 Target: $400
 3% 

Advertisement Plugin 1.0


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
armiiiiiiiiiin
Junior Member
Join Date: Jan 2018
Old 01-11-2018 , 16:18   Advertisement Plugin 1.0
Reply With Quote #1

This is a Simple Advertisement plugin that types messages in the chat, and you get to choose the messages and type your own thru the "advertisements.phares" file ~ that's located in Addons/sourcemod/translations.

Now, if you want to change the colors of the text itself you have to go into the source file and add your custom message, aswell as the color codes.

These are some color codes:
\x01 = Default / White
\x07 = Red
\x04 = Lightgreen
\x0B = Blue

These are the ones that I remember from my head, but I guess you could just go to a
website or something where you can see every color code there is.

Let me know if you have any problems with the plugin!
Attached Files
File Type: sp Get Plugin or Get Source (advertisements.sp - 318 views - 1.8 KB)
File Type: inc morecolors.inc (23.8 KB, 236 views)

Last edited by Seta00; 01-12-2018 at 14:43. Reason: Removed .smx and toxicity.
armiiiiiiiiiin is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 01-11-2018 , 20:14   Re: Advertisement Plugin 1.0
Reply With Quote #2

Quote:
Originally Posted by armiiiiiiiiiin View Post
I hope you guys get Aids, because I did.
You just made my day
__________________
edon1337 is offline
armiiiiiiiiiin
Junior Member
Join Date: Jan 2018
Old 01-12-2018 , 11:59   Re: Advertisement Plugin 1.0
Reply With Quote #3

i have aids
armiiiiiiiiiin is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 01-12-2018 , 14:43   Re: Advertisement Plugin 1.0
Reply With Quote #4

Moved to SM plugins.
Seta00 is offline
michaelrw
Senior Member
Join Date: Jul 2017
Old 01-18-2018 , 05:58   Re: Advertisement Plugin 1.0
Reply With Quote #5

is there a reason to use this, or that you made this, instead of something like ServerAdvertisements3 or Advertisements 2.0 ? not being rude, im genuinely curious..
also. how are the messages played? do they cycle through at a set time period?
__________________

michaelrw is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode