Raised This Month: $ Target: $400
 0% 

[Solved] Fake Radio Command


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
shaliwahan
Member
Join Date: Aug 2011
Old 12-18-2013 , 21:58   Re: Fake Radio Command
Reply With Quote #2

Edit:
Here you go -

PHP Code:
formatex(szFormatcharsmax(szFormat), "%L"LANG_PLAYER"C4_ARMED_RADIO"iC4Timer)

    for(new 
1<= g_iMaxPlayersi++)
    {
        if(
g_iTeam[i] == g_iTeam[id] && !g_bBot[id])
        {
            
/* fully fake hookable radio message and event */

            
emessage_begin(MSG_ONEgMsg_TextMsg_i)
            
ewrite_byte(3)
            
ewrite_string("#Game_radio")
            
ewrite_string(szName)
            
ewrite_string(szFormat)
            
emessage_end()

            
emessage_begin(MSG_ONEgMsg_SendAudio_i)
            
ewrite_byte(id)
            
ewrite_string("%!MRAD_BLOW")
            
ewrite_short(100)
            
emessage_end()
        }
    } 

Last edited by shaliwahan; 12-18-2013 at 22:17. Reason: Snippet added.
shaliwahan 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 20:42.


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