had not noticed the client indexerror until now

This commit is contained in:
jenz 2023-10-31 18:35:46 +01:00
parent 6465427290
commit 32d2d21794

View File

@ -123,6 +123,8 @@ public MRESReturn OnGetRunCmdPre(int entity, Handle hReturn)
}
public void get_new_angles(int client, int target, float angles[3])
{
if (IsValidClient(target))
{
float TargetPos[3];
float ClientPos[3];
@ -135,6 +137,7 @@ public void get_new_angles(int client, int target, float angles[3])
angles[1] = Result[1];
angles[2] = Result[2];
}
}
public Action OnPlayerRunCmd(int client, int& buttons, int& impulse, float vel[3], float angles[3], int& weapon, int& subtype, int& cmdnum, int& tickcount, int& seed, int mouse[2])
{