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 .