SHARE
TWEET

Untitled

a guest May 23rd, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. new Float:angle,Float:distance;
  2. distance = -2/2 + 0.1;
  3. GetPlayerPos(params[0], x, y, z);
  4. GetPlayerFacingAngle(params[0], angle);
  5. x += (distance * floatsin(-angle+180, degrees));
  6. y += (distance * floatcos(-angle+180, degrees));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top