Advertisement
nomy

Untitled

Sep 2nd, 2014
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. new Float:vVel[3]
  2. GetEntPropVector(client, Prop_Send, "m_vecVelocity", vVel)
  3. vVel[0] += ((rand() % 180) + 50) * (((rand() % 2) == 1) ? -1:1);  /* x coord */
  4. vVel[1] += ((rand() % 180) + 50) * (((rand() % 2) == 1) ? -1:1);  /* y coord */
  5. GetClientEyeAngles(client, angle);
  6. angle -= 20;
  7. TeleportEntity(client, NULL_VECTOR, angle, vVel)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement