[Solved] Drawing lines
How can I draw lines like in this picture:
[IMG]http://img139.**************/img139/7991/imagesrc6.jpg[/IMG] (I searched forum and documentation but I couldn't find anything :cry:) |
Re: Drawing lines
u gotta search more.
|
Re: Drawing lines
use a te_message (temporary entity).
|
Re: Drawing lines
check this file message_const.inc in your amxxdir\scripting\include
|
Re: Drawing lines
Code:
Don't forget to precache this: beam_texture = precache_model("sprites/lgtning.spr") |
Re: Drawing lines
What if you want it to hit an id? I'm making a plugin, The God, which with a command (tg_punish <target> <damage>) shall strike the target with an amount of damage. How shall I do that?
|
Re: [Solved] Drawing lines
Code:
/* Start Message */ |
Re: [Solved] Drawing lines
How do you do to make it take damage from the player?
|
Re: [Solved] Drawing lines
I think it's not possible; but you can do this:
-Check every coordinate beam goes trough, -If there is a player in one of these coordinates, -Damage player who beam touched to. |
Re: [Solved] Drawing lines
|
| All times are GMT -4. The time now is 06:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.