AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   tracers for one person (https://forums.alliedmods.net/showthread.php?t=17840)

Obbin 09-10-2005 07:40

tracers for one person
 
how do i make so onley an specifyed person get the "tracers effect"?
any snippet?

Thx

LynX 09-10-2005 07:51

const.h file ;)

I could make you a standard tracer script without origins, but beleive me, tracers are not that good effect, the origins drived me nuts... So I went on other effect from const.h

Obbin 09-10-2005 10:47

const.h?
where can i find that file? (newbi :D)
and i don't even know what orgins and messages is!

Zenith77 09-10-2005 11:16

add this to the top of oyur code under your includes
Code:
new laserbeam

add this somewhere

Code:
public plugin_preacache() {         laserbeam = precache_model("sprites/laserbeam.spr") }

and add this to the command or w/e ;)
Code:
    message_begin(MSG_ONE, SVC_TEMPENTITY, {0,0,0}, id)         write_byte(22)         write_short(id)         write_short(laserbeam)         write_byte(15) //length         write_byte(8)      //width         write_byte(255)   //red         write_byte(0) //green         write_byte(0)  //blue         write_byte(50)    //bright         message_end()

Obbin 09-10-2005 13:34

thx zenith +1 for you!


All times are GMT -4. The time now is 14:25.

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