View Single Post
ShD3luxe
Member
Join Date: Aug 2019
Location: Localhost
Old 08-18-2019 , 21:26   Re: SetupBeamLaser to all clients
Reply With Quote #2

Code:
	
        float fclientPosition[3]; // x y z float vector position
	GetClientAbsOrigin(client, fclientPosition); // get the position of the client in the vector
But you don't need the player's position https://sm.alliedmods.net/new-api/sd...SetupBeamLaser
You need the start index and end index.
If you want to draw lines from player A to B , B to C , A to C , and so on you need 2 loops .

Last edited by ShD3luxe; 08-18-2019 at 21:35. Reason: link documentation
ShD3luxe is offline