Raised This Month: $ Target: $400
 0% 

[SOLVED]my fault.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
makiza
BANNED
Join Date: Mar 2009
Old 03-12-2011 , 18:58   [SOLVED]my fault.
Reply With Quote #1

Hello there again...

Trying to add this 2 pieces of code:
PHP Code:
public flash()
{
    
set_lights("a")
    new 
all[32], inum 
    get_players
(all,inum
    for (new 
i=0;i<inum;++i) { 
        
Flash2(all[i]) // line 87
    

}

public 
Flash2(id) {
    
message_begin(MSG_ONE,gMsgScreenFade,{0,0,0},id//line 92
    
write_short1<<15 
    
write_short1<<10 )
    
write_short1<<12 )
    
write_byte255 
    
write_byte255 
    
write_byte255 
    
write_byte255 
    
message_end()

Comes out this runtime error:
Quote:
L 03/12/2011 - 18:47:41: Plugin called message_begin with an invalid message id (0).
L 03/12/2011 - 18:47:41: [AMXX] Displaying debug trace (plugin "ZP_EMP.amxx")
L 03/12/2011 - 18:47:41: [AMXX] Run time error 10: native error (native "message_begin")
L 03/12/2011 - 18:47:41: [AMXX] [0] ZP_EMP.sma::Flash2 (line 92)
L 03/12/2011 - 18:47:41: [AMXX] [1] ZP_EMP.sma::flash (line 87)
I dunno what to do, and i require of your help

Thanks in advance.
makiza 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 14:35.


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