Raised This Month: $ Target: $400
 0% 

Error: Plugin called message_begin in ATAC "rocket" code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GoGoGo
Senior Member
Join Date: Apr 2008
Old 02-28-2009 , 05:11   Error: Plugin called message_begin in ATAC "rocket" code
Reply With Quote #1

PHP Code:
public rocket_sfxid )
{   
    if ( 
is_user_aliveid ) && id != 0)
    {
                
        
set_pevidpev_gravity, -0.5 )
        
set_pevidpev_velocityFloat:{ 0.00.0350.0 } )
        
emit_soundidCHAN_VOICE"weapons/rocket1.wav"1.00.50PITCH_NORM )
        
rocket_riseid )
        
        
message_beginMSG_ONE_UNRELIABLEgmsgScreenShake_id )
        
write_short<< 15 // shake amount
        
write_short<< 15 // shake lasts this long
        
write_short<< 15 // shake noise frequency
        
message_end()
        
        
message_beginMSG_BROADCASTSVC_TEMPENTITY // Rocket Trail
        
write_byteTE_BEAMFOLLOW )
        
write_shortid )
        
write_shortg_trail )
        
write_byte30 )
        
write_byte)
        
write_byte250 )
        
write_byte250 )
        
write_byte250 )
        
write_byte250 )
        
message_end()
    }

I have a strange error

Code:
L 02/28/2009 - 00:57:33: Plugin called message_begin with an invalid message id (0).
On line - public rocket_sfx( id )

What is happening?
__________________
Aaaaaa!
GoGoGo 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 16:58.


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