AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Make a Color include which works on both CSS/CSGO |help (https://forums.alliedmods.net/showthread.php?t=333682)

born for gaming 07-29-2021 02:25

Make a Color include which works on both CSS/CSGO |help
 
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 :)

DJ Tsunami 07-29-2021 02:55

Re: Make a Color include which works on both CSS/CSGO |help
 
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:

born for gaming 07-31-2021 12:14

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

Originally Posted by DJ Tsunami (Post 2753967)
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

SmokieCS 07-31-2021 13:47

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

Originally Posted by born for gaming (Post 2754219)
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.

DJ Tsunami 07-31-2021 14:51

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

Originally Posted by born for gaming (Post 2754219)
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.

born for gaming 08-01-2021 00:05

Re: Make a Color include which works on both CSS/CSGO |help
 
1 Attachment(s)
Quote:

Originally Posted by SmokieCS (Post 2754227)
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


All times are GMT -4. The time now is 04:18.

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