Raised This Month: $ Target: $400
 0% 

fix plugin need help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SAMURAI16
BANNED
Join Date: Sep 2006
Old 02-07-2007 , 10:15   Re: fix plugin need help
Reply With Quote #7

here i got some errors on compiling . Also, this :
Code:
public event_ScreenFade(id) {

    if ( ! get_pcvar_num(pCvar) )
        return PLUGIN_CONTINUE

    message_begin(MSG_ONE_UNRELIABLE, g_msgScreenFade, {0,0,0}, id)
    write_short(read_data(1))
    write_short(read_data(2))
    write_short(read_data(3))
    write_byte(0)
    write_byte(0)
    write_byte(0)
    write_byte(0)
    message_end()
}

With this :
Code:
public event_ScreenFade(id) {

    if ( ! get_pcvar_num(pCvar) )
        return PLUGIN_CONTINUE

    message_begin(MSG_ONE_UNRELIABLE, g_msgScreenFade, {0,0,0}, id)
    write_short(read_data(1))
    write_short(read_data(2))
    write_short(read_data(3))
    write_byte(255)
    write_byte(255)
    write_byte(255)
    write_byte(read_data(7))
    message_end()
}

Anyway, works perfect now
THANKS

SAMURAI16 is offline
Send a message via MSN to SAMURAI16
 



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 00:42.


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