I would say yes, because in the note for this forward, Called when a clients movement buttons are being processed, tells me that even if a button isn't being pressed, it's being processed (as not being pressed?).
I could be wrong though...
Using the below code, both appeared to be firing the same number of times... I was testing with bots though, so, maybe if a human player is in game and not moving, the OnPlayerRunCmd wouldn't fire, but I think it would.
actually, OnPlayerRunCmd printed way more to the server than OnGameFrame
PHP Code:
#pragma semicolon 1
#include <sourcemod>
#include <sdktools>
public Action:OnPlayerRunCmd(client, &buttons, &impulse, Float:vel[3], Float:angles[3], &weapon, &subtype, &cmdnum, &tickcount, &seed, mouse[2]) {
for (new i = 1; i <= MaxClients; i++)
{
if (IsClientInGame(i))
PrintToServer("OnPlayerRunCmd ran for %N...", client);
}
}
public OnGameFrame() {
for (new i = 1; i <= MaxClients; i++)
{
if (IsClientInGame(i))
PrintToServer("OnGameGrame ran...");
}
}
__________________