Raised This Month: $ Target: $400
 0% 

Problem with colored text


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
J4CK
Member
Join Date: Dec 2008
Location: India
Old 11-27-2010 , 22:53   Problem with colored text
Reply With Quote #1

lang file:
PHP Code:
SCAN_CLEAN human
SCAN_INFECTED 
zombie
SCAN_RESULTS 
= [ZombieModYou are
zm mod:
PHP Code:
public task_newround()
{
    static 
players[32], numiidnewzombie
    get_players
(playersnum"a")

    
newzombie players[_random(num)]
    if(
num && is_user_connected(g_zombieoftheround))
    {
        while(
g_zombieoftheround == newzombie)
            
newzombie players[_random(num)]
    }
    
g_zombieoftheround newzombie

    
for(0numi++)
    {
        
id players[i]
        
ColorChat(idRED"%L %L"id"^x04SCAN_RESULTS"idg_zombieoftheround == id "^x03SCAN_INFECTED" "^x04SCAN_CLEAN")
    }
    
    if(
get_pcvar_num(cvar_randomspawn))
        
randomly_place_everyone()

need:
[ZombieMod] You are: human
[ZombieMod] You are: zombie
J4CK is offline
 



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


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