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

Make a Color include which works on both CSS/CSGO |help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
born for gaming
Member
Join Date: Aug 2019
Location: Pakistan
Old 07-29-2021 , 02:25   Make a Color include which works on both CSS/CSGO |help
Reply With Quote #1

Hi,

Can anyone make the include file of colors which works on both css and csgo? Request!

I found two include files of colors on Alliedmods :

1. morecolors.inc
2. colorvariables.inc

Morecolor works on css but not works on csgo.
and colorvariables works on csgo but not works on css.

I want anyone make a include file which works on both games and also supports a lot of colors like morecolors and colorvariables supports

OR

Anyone merge morecolors.inc and colorvariables.inc into one file so we can use it on both games.

Note : If there anyone include exist which works on both games then give me

Thanks in Advance
born for gaming is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-29-2021 , 02:55   Re: Make a Color include which works on both CSS/CSGO |help
Reply With Quote #2

ColorVariables supports every color and game that More Colors supports, as mentioned at the bottom of the README.

You can also try one of these:
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
born for gaming
Member
Join Date: Aug 2019
Location: Pakistan
Old 07-31-2021 , 12:14   Re: Make a Color include which works on both CSS/CSGO |help
Reply With Quote #3

Quote:
Originally Posted by DJ Tsunami View Post
ColorVariables supports every color and game that More Colors supports, as mentioned at the bottom of the README.

You can also try one of these:

I use colorvariables for csgo.

when i use

PHP Code:
CPrintToChatAll("{aqua}[{pink}S{black}L{pink}A{olive}Y{white}E{crimson}R{aqua}]); 
in game its not works.


but when i use csgo default colors :
PHP Code:
CPrintToChatAll("{gold}[{darkred}S{orchid}L{default}A{purple}Y{green}E{blue}R{gold}] 
then it works.


Please tell me how it works.
and also tell me what is syntax for CSS

Last edited by born for gaming; 07-31-2021 at 12:15.
born for gaming is offline
SmokieCS
AlliedModders Donor
Join Date: Nov 2019
Location: Denmark
Old 07-31-2021 , 13:47   Re: Make a Color include which works on both CSS/CSGO |help
Reply With Quote #4

Quote:
Originally Posted by born for gaming View Post
I use colorvariables for csgo.

when i use

PHP Code:
CPrintToChatAll("{aqua}[{pink}S{black}L{pink}A{olive}Y{white}E{crimson}R{aqua}]); 
in game its not works.


but when i use csgo default colors :
PHP Code:
CPrintToChatAll("{gold}[{darkred}S{orchid}L{default}A{purple}Y{green}E{blue}R{gold}] 
then it works.


Please tell me how it works.
and also tell me what is syntax for CSS
Could you share your whole code? Just to make sure that you actually
Code:
#include
the includes etc.
__________________
Server Manager & Chairman of the Board - https://esportharte.dk/
Freelance Server Support
Former Co-Owner - https://tfrag.dk/
SmokieCS is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-31-2021 , 14:51   Re: Make a Color include which works on both CSS/CSGO |help
Reply With Quote #5

Quote:
Originally Posted by born for gaming View Post
when i use

PHP Code:
CPrintToChatAll("{aqua}[{pink}S{black}L{pink}A{olive}Y{white}E{crimson}R{aqua}]); 
in game its not works.
Well none of those colors are supported in CS:GO. It only supports the 16 colors listed in the README.

CS:S supports all these colors.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
born for gaming
Member
Join Date: Aug 2019
Location: Pakistan
Old 08-01-2021 , 00:05   Re: Make a Color include which works on both CSS/CSGO |help
Reply With Quote #6

Quote:
Originally Posted by SmokieCS View Post
Could you share your whole code? Just to make sure that you actually
Code:
#include
the includes etc.
Which colors i using right now in the given sp file are working fine.


BTW: This is my first plugin. Please tell me my mistake to improve it and one more question when special round comes like zeus or knife or noscope round sometimes all players get the weapon according to which special round is. And sometimes 2 or 3 players don't get the weapon and other players on server get the weapon. And sometimes no one get the weapons. Their hands are empty. plz tell me how to fix this

Thanks in Advance
Attached Files
File Type: sp Get Plugin or Get Source (funrounds_by_slayer.sp - 31 views - 23.4 KB)
born for gaming 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 20:26.


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