AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   global color commands (https://forums.alliedmods.net/showthread.php?t=65309)

Nerisrath 01-05-2008 18:27

global color commands
 
does anyone know if you can make the command "con_color 0+0+0" work globally, if not are there color commands for chat text that do work global (other than ^x04 or similar) and what module are they in (e.g. con_color is in cstrike_amxx.dll)...i need to know what module and for what game engine cause im trying to custom modify my server beyond the level of plugins (it is currently a mix of cs and dod but am not afraid to try mixing command elements of other hl games)

Nerisrath 01-09-2008 00:34

Re: global color commands
 
hmm a simple no wouldve been nice :/

lolhax44 01-09-2008 08:37

Re: global color commands
 
Accualy They are just modules for CS The 'Global' sugar is in the includes/sma

If ur not talking about this then idk what u are
PHP Code:

    message_begin(MSG_BROADCASTSVC_TEMPENTITY)
    
write_byte(22)        // TE_BEAMFOLLOW
    
write_short(newEnt)    // entity:attachment to follow
    
write_short(g_spriteTrail)    // sprite index
    
write_byte(100)    // life in 0.1's
    
write_byte(8)        // line width in 0.1's
    
write_byte(255)    //r,g,b
    
write_byte(255)    //r,g,b
    
write_byte(255)    //r,g,b
    
write_byte(255)    // brightness 0 invisble 255 visble
    
message_end() 


hlstriker 01-09-2008 16:40

Re: global color commands
 
Quote:

Originally Posted by Nerisrath (Post 570627)
does anyone know if you can make the command "con_color 0+0+0" work globally

I think you mean make everyones con_color the value you want them to use? This is possible but I won't show you how due to the fact most players don't want you changing their settings.

Quote:

Originally Posted by Nerisrath (Post 570627)
are there color commands for chat text that do work global (other than ^x04 or similar)

Not that I have seen. Someone may prove me wrong though?

Note: Ignore lolhax44's post, as it has nothing to do with chatting whatsoever. At least he's banned and can't flood the forum with completely wrong answers anymore...


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

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