Raised This Month: $ Target: $400
 0% 

[SOLVED] Format a message?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-14-2016 , 15:10   Re: [HELP] Format a message?
Reply With Quote #7

PHP Code:
enum KillStatus
{
    
LeaderHuman,
    
LastHuman,
    
ThisInstead2,
    
ThisInstead3
}

new const 
KillStatusMsgKillStatus ][] =  
{
    
"Leader human msg",
    
"Last human msg",
    
"This instead 2",
    
"This instead 3"
};

public 
Killedid )
{
    new 
KillStatus:ksStatus;
    
    if ( 
is_leader_humanid ) ) ksStatus LeaderHuman;
    else if ( 
is_last_humanid ) ) ksStatus LastHuman;
    else if ( 
is_this_instead2id ) ) ksStatus ThisInstead2;
    else if ( 
is_this_instead3id ) ) ksStatus ThisInstead3;

    
show_hudmessageid KillStatusMsgksStatus ] );

__________________
Bugsy 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 09:27.


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