|
Author
|
Message
|
|
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
|

02-07-2007
, 16:45
Re: fix plugin need help
|
#1
|
Quote:
Originally Posted by SAMURAI16
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?
|
|
|
|