View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 01-29-2020 , 15:17   Re: env_beam didnīt recognize endpoint....
Reply With Quote #2

PHP Code:
DispatchKeyValueVector(beam"CoordMP"vecs);
SetEntPropVector(beamProp_Send"m_vecEndPos"vecs);
SetEntPropVector(beamProp_Data,"m_hEndEntity",  vecs); 
Try any of those maybe. Im guessing it's pointing to 0,0,0 when you say "somewhere in the map"

Also, you're only teleporting env_steam when the "i" index is 1, and 2, but every other time you're creating them all without coords, eg 0,0,0 I guess. And the beam is created 12 times, not 2 lol. Fix all that and it might work as expected without the above code I put.
__________________

Last edited by Silvers; 01-29-2020 at 15:21.
Silvers is offline