Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- float velocity[3];
- GetEntPropVector(client, Prop_Data, "m_vecAbsVelocity", velocity);
- int truevel = RoundToFloor(GetVectorLength(velocity, SquareRoot(Pow(velocity[0], 2.0) + Pow(velocity[1], 2.0))));
- float cheatangle = FloatAbs(ArcSine(30.0 / truevel) * 180 / PI);
- PrintToChat(client, "Cheatangle: %f", cheatangle);
- if(angles[1] == cheatangle){
- PrintToChatAll("Cheaterrr");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement