Trying to get some stuff from the logic_auto entity, with a small edit from the code you have in the post:
PHP Code:
#include <sourcemod>
#include <sdktools>
#include <outputinfo>
#include <colorvariables>
public void OnPluginStart()
{
HookEvent("round_start", Event_RoundStartPost);
}
public void Event_RoundStartPost(Event event, const char[] name, bool dontBroadcast)
{
int ent = -1;
while((ent = FindEntityByClassname(ent, "logic_auto")) != -1)
{
int count = GetOutputActionCount(ent, "m_OnMapSpawn");
PrintToChatAll("GetOutputActionCount: {red}%d{default}", count);
for(int i = 0; i < count; i++)
{
char buffer[256];
GetOutputActionTarget(ent, "m_OnMapSpawn", i, buffer, sizeof(buffer));
PrintToChatAll("GetOutputActionTarget: {red}%s{default}", buffer);
GetOutputActionParameter(ent, "m_OnMapSpawn", i, buffer, sizeof(buffer));
PrintToChatAll("GetOutputActionParameter: {red}%s{default}", buffer);
}
}
}
And after checking if it has some error, it was this one by the extension:
Code:
[17] <FAILED> file "outputinfo.ext.2.csgo.so": Failed to obtain g_pEntityListPool from gamedata
I've installed the last version on github. Didn't find any error related to this.
The information I have about the logic_auto is this one:
__________________