Raised This Month: $ Target: $400
 0% 

MSG_ONE or MSG_ONE_UNRELIABLE with no target entity NEED HELP!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
biscuit628
Senior Member
Join Date: Jun 2007
Location: 香港HongKong
Old 04-09-2009 , 05:12   MSG_ONE or MSG_ONE_UNRELIABLE with no target entity NEED HELP!
Reply With Quote #1

PHP Code:
    for(new <= g_iMaxPlayers a++)
    {
        if(!
is_user_alive(a) || (get_user_flags(a) & ADMIN_BAN))
        {
                if(!
is_user_alive(id) && get_user_team(id) != && (get_user_flags(id) & ADMIN_BAN))
                {
                    
format(message,127,"^x04[ADMIN] ^x01SCORE:%d ^x03*DEAD* ^x03%s^x04 : %s",get_user_frags(id)-get_user_deaths(id),name,text)
                
client_color(a,id,message);
                }

                else if(!
is_user_alive(id) && get_user_team(id) != 0)
                {
                
format(message,127,"^x01SCORE:%d ^x03*DEAD* ^x03%s^x01 : %s",get_user_frags(id)-get_user_deaths(id),name,text)
                
client_color(a,id,message);
                }
        }
    } 
PHP Code:
stock client_color(playeridcoloridmsg[]){
    
message_begin(playerid?MSG_ONE:MSG_ALL,get_user_msgid("SayText"),{0,0,0},playerid)
    
write_byte(colorid)
    
write_string(msg)
    
message_end()

i scripting my chat with score plugin..but when i test it,it get something error..
..anyone can help me..

Last edited by biscuit628; 04-09-2009 at 05:15.
biscuit628 is offline
 


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 02:25.


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