AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Behind player origin (https://forums.alliedmods.net/showthread.php?t=192597)

Merciless 08-11-2012 21:24

Behind player origin
 
Hello;

For the new mod I'm working on, I need to get the origin a bit behind the players origin.

Its for a line behind you, and if you touch you die.
but on my current way, the line goes in you, so you die directly.

Exolent said:
PHP Code:

new Float:vecAim];
velocity_by_aimid10vecAim );
xs_vec_mul_scalarvecAim, -1.0vecAim ); 


But line doesnt show when I do like that :|
Any other ways


All times are GMT -4. The time now is 05:46.

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