Raised This Month: $ Target: $400
 0% 

[Solved] Bug StatusIcon xD


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 06-29-2014 , 17:20   [Solved] Bug StatusIcon xD
Reply With Quote #1

I am using statusicon msg to display the amount of lasermines i have.
It happens this after install lasermines



Code:
PHP Code:
public update_lmmsg(id)
{
    if(
is_user_connected(id) && !is_user_bot(id))
    {
        
update_finalmsg(id0)
        
update_finalmsg(idis_user_alive(id) ? 0)
    }
}

public 
update_finalmsg(idonoff)
{
    static 
LMSprites[33]
    
format(LMSpritessizeof(LMSprites), "number_%d"g_havemine[id])
    
    
message_begin(MSG_ONE_UNRELIABLEg_Msg_StatusIcon, {0,0,0}, id)
    
write_byte(onoff)
    
write_string(LMSprites)
    
write_byte(42// red
    
write_byte(212// green
    
write_byte(255// blue
    
message_end()

__________________
Jhob94 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 21:06.


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