Quote:
Originally Posted by XxAvalanchexX
Try this out.
Code:
new beamSpr;
public plugin_precache()
{
beamSpr = precache_model("sprites/lgtning.spr");
}
public make_blood_beam(from,to)
{
message_begin(MSG_ALL,SVC_TEMPENTITY);
write_byte(TE_BEAMENTS);
write_short(from); // start entity
write_short(to); // end entity
write_short(beamSpr); // sprite index
write_byte(0); // start frame
write_byte(30); // frame rate in 0.1's
write_byte(20); // life in 0.1's
write_byte(25); // line width in 0.1's
write_byte(50); // noise amplititude in 0.01's
write_byte(200); // red
write_byte(10); // green
write_byte(10); // blue
write_byte(100); // brightness
write_byte(50); // scroll speed in 0.1's
message_end();
}
|
Now it's asking what code beaments is -_-
I put it on 8... that's right, right?
Anyway now the lightning is shooting up XD`
Edit: I just addded 106 <Piss code>
Code:
No model 25610!
Host_Error: UserMsg: Not Present on Client 19
No go...
EDIT!
BOOYAH! I got it to go, only one problem... the beam starts at the... lower... parts...
And, there is really... no way to make this work with blood stream huh... <101>