Raised This Month: $32 Target: $400
 8% 

[INC] ColorVariables


Post New Thread Reply   
 
Thread Tools Display Modes
KissLick
Veteran Member
Join Date: Nov 2012
Location: void
Old 06-19-2016 , 16:05   Re: [INC] ColorVariables
Reply With Quote #11

Quote:
Originally Posted by condolent View Post
I get this error when compiling my plugin:
Code:
//// admin-see-all-chat.sp
//
// sourcemod\addons\sourcemod\scripting\include\colorvariables.inc(147) : error 017: undefined symbol "iTeam"
// sourcemod\addons\sourcemod\scripting\include\colorvariables.inc(153) : error 001: expected token: ")", but found "~"
// sourcemod\addons\sourcemod\scripting\include\colorvariables.inc(153) : warning 215: expression has no effect
// sourcemod\addons\sourcemod\scripting\include\colorvariables.inc(153) : error 001: expected token: ";", but found ")"
// sourcemod\addons\sourcemod\scripting\include\colorvariables.inc(153) : error 029: invalid expression, assumed zero
// sourcemod\addons\sourcemod\scripting\include\colorvariables.inc(153) : fatal error 189: too many error messages on one line
//
// Compilation aborted.
// 5 Errors.
//
// Compilation Time: 0,8 sec

Done -> https://github.com/KissLick/ColorVariables/issues/1
__________________
Plugins: TeamGames
Includes: Menu stocks, ColorVariables, DownloadTableConfig

> No help through PM, make a topic.
KissLick is offline
Dr Zayd
Senior Member
Join Date: Jun 2014
Location: forums.alliedmods.net
Old 07-09-2016 , 13:59   Re: [INC] ColorVariables
Reply With Quote #12

Soo ... i can use all colors ? Ex : aqua / black ... ?
__________________
Invisible System | 100%
ـــــــــــــــــــــــــــــ
Anti setinfo check | Ez Plugin and lite
ـــــــــــــــــــــــــــــ
[ZP] Free VIP Menu | Free VIP menu | ZP-Mod |
Dr Zayd is offline
KissLick
Veteran Member
Join Date: Nov 2012
Location: void
Old 07-09-2016 , 17:29   Re: [INC] ColorVariables
Reply With Quote #13

Quote:
Originally Posted by Dr Zayd View Post
Soo ... i can use all colors ? Ex : aqua / black ... ?
That does depend on the game, these colors are available only for CS:S, TF2 etc. (not CS:GO).

For CS:GO you can use these colors:
__________________
Plugins: TeamGames
Includes: Menu stocks, ColorVariables, DownloadTableConfig

> No help through PM, make a topic.
KissLick is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 07-27-2016 , 23:02   Re: [INC] ColorVariables
Reply With Quote #14

https://github.com/Drixevel/ColorVar...rvariables.inc

Syntax update.
Drixevel is offline
KissLick
Veteran Member
Join Date: Nov 2012
Location: void
Old 08-07-2016 , 17:39   Re: [INC] ColorVariables
Reply With Quote #15

I am gonna merge this as a new branch in GitHub repo.
__________________
Plugins: TeamGames
Includes: Menu stocks, ColorVariables, DownloadTableConfig

> No help through PM, make a topic.
KissLick is offline
KissLick
Veteran Member
Join Date: Nov 2012
Location: void
Old 09-02-2016 , 15:45   Re: [INC] ColorVariables
Reply With Quote #16

What about

PHP Code:
CSetNextAuthor(iClient);
CPrintToChat(iClient"\x03Test of x03"); 
?
__________________
Plugins: TeamGames
Includes: Menu stocks, ColorVariables, DownloadTableConfig

> No help through PM, make a topic.

Last edited by KissLick; 09-02-2016 at 15:46.
KissLick is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 09-14-2016 , 03:11   Re: [INC] ColorVariables
Reply With Quote #17

You're still missing the CSetNextAuthor(client); call before CPrintToChat.
If the author isn't set, the include uses the SayText user message, which doesn't support teamcolors, instead of the SayText2 one.
__________________
Peace-Maker is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 09-14-2016 , 13:13   Re: [INC] ColorVariables
Reply With Quote #18

The author is the person who sends the message, not the recipient. So CSetNextAuthor(iAuthor) inside the loop.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.

Last edited by DJ Tsunami; 09-14-2016 at 13:22.
DJ Tsunami is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 09-14-2016 , 14:49   Re: [INC] ColorVariables
Reply With Quote #19

Yeah, I realized that in my last post

I'm still learning, of course. But hey, thanks for the help everyone. Hopefully KissLick takes a look at that teamcolor issue I pointed out at the start of my 2nd last post (where BLU's color is actually the Genuine quality color).

If all goes well, I'll be releasing Chat-Processor Tags today.

This forum needs a "Thanks" system, I've just noticed.

Last edited by 404UserNotFound; 09-14-2016 at 14:50.
404UserNotFound is offline
KissLick
Veteran Member
Join Date: Nov 2012
Location: void
Old 09-14-2016 , 14:53   Re: [INC] ColorVariables
Reply With Quote #20

:-) Yeah, I added this to my "look at" list for this weekend
__________________
Plugins: TeamGames
Includes: Menu stocks, ColorVariables, DownloadTableConfig

> No help through PM, make a topic.
KissLick is offline
Reply



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 14:05.


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