diff --git a/fbxa/bot_qw.qc b/fbxa/bot_qw.qc index 2284f06..b9f731f 100644 --- a/fbxa/bot_qw.qc +++ b/fbxa/bot_qw.qc @@ -159,6 +159,7 @@ entity () SV_AllocClient = #0; void (entity e) SV_FreeClient = #0; void (entity e, string str) SV_SetUserinfo = #0; void (entity e, integer ping) SV_SetPing = #0; +void (entity cl, float sec, vector angles, vector move, integer buttons, integer impulse) SV_UserCmd = #0; //---------------------------------------------------------------------------- diff --git a/fbxa/libfrikbot.h b/fbxa/libfrikbot.h index eb11cd8..f98ce23 100644 --- a/fbxa/libfrikbot.h +++ b/fbxa/libfrikbot.h @@ -348,4 +348,10 @@ @extern void(string h) BotSayTeam; @extern void(entity e1, entity e2, float flag) DeveloperLightning; +/* + angles is pitch yaw roll + move is forward right up +*/ +@extern void (entity cl, float sec, vector angles, vector move, integer buttons, integer impulse) SV_UserCmd; + #include "defs.h"