Code:
public Action Cmd_TestShoot(int id, int iArgs)
{
Event eReload = CreateEvent("weapon_reload")
if(eReload == null)
{
PrintToConsole(id, "Error while creating event.")
return Plugin_Handled
}
eReload.SetInt("userid", GetClientUserId(id))
eReload.Fire()
return Plugin_Handled
}
I'm getting the error message.
What am I doing wrong?
Is there no function that can trigger a model's animation?
__________________