Raised This Month: $ Target: $400
 0% 

fix plugin need help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 02-07-2007 , 16:45   Re: fix plugin need help
Reply With Quote #1

Quote:
Originally Posted by SAMURAI16 View Post
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

Um do you mean you replaced that screenfade stuff?
[ --<-@ ] Black Rose is offline
Reply



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