Update includes

This commit is contained in:
Jackzie 2022-06-05 15:50:46 -05:00
parent f91a3e0502
commit e6a638de7e
No known key found for this signature in database
GPG key ID: 1E834FE36520537A
5 changed files with 1547 additions and 875 deletions

View file

@ -28,8 +28,8 @@ stock void GetHorizontalPositionFromClient(int client, float units, float finalP
GetClientAbsOrigin(client, pos);
float theta = DegToRad(ang[1]);
pos[0] += -150 * Cosine(theta);
pos[1] += -150 * Sine(theta);
pos[0] += units * Cosine(theta);
pos[1] += units * Sine(theta);
finalPosition = pos;
}
// Gets velocity of an entity (ent) toward new origin with speed (fSpeed) - thanks Ryan