mirror of
https://github.com/kidfearless/output-info-plugin.git
synced 2025-12-06 18:08:23 +00:00
Add some older includes
This commit is contained in:
parent
636e037fe9
commit
fe6f9660f2
@ -295,6 +295,11 @@ stock int GetOutputCount(int index, const char[] output = "")
|
||||
return count;
|
||||
}
|
||||
|
||||
stock int GetOutputActionCount(int index, const char[] output = "")
|
||||
{
|
||||
return GetOutputCount(index, output);
|
||||
}
|
||||
|
||||
/* *
|
||||
* Retrieves the target at the current index for the given output.
|
||||
* Not recommended as outputs aren't organized and aren't guarenteed to be the same between sessions and servers.
|
||||
@ -337,7 +342,7 @@ stock bool GetOutputTarget(int index, const char[] output, int num, char[] targe
|
||||
if(count++ == num)
|
||||
{
|
||||
strcopy(target, length, out.Target);
|
||||
ret = true
|
||||
ret = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -347,6 +352,11 @@ stock bool GetOutputTarget(int index, const char[] output, int num, char[] targe
|
||||
return ret;
|
||||
}
|
||||
|
||||
stock bool GetOutputActionTarget(int index, const char[] output, int num, char[] target, int length = MEMBER_SIZE)
|
||||
{
|
||||
return GetOutputTarget(index, output, num, target, length);
|
||||
}
|
||||
|
||||
/* *
|
||||
* Retrieves the input at the current index for the given output.
|
||||
* Not recommended as outputs aren't organized and aren't guarenteed to be the same between sessions and servers.
|
||||
@ -439,7 +449,7 @@ stock bool GetOutputParameter(int index, const char[] output, int num, char[] pa
|
||||
if(count++ == num)
|
||||
{
|
||||
strcopy(parameters, length, out.Parameters);
|
||||
ret = true
|
||||
ret = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -449,6 +459,11 @@ stock bool GetOutputParameter(int index, const char[] output, int num, char[] pa
|
||||
return ret;
|
||||
}
|
||||
|
||||
stock bool GetOutputActionParameter(int index, const char[] output, int num, char[] parameters, int length = MEMBER_SIZE)
|
||||
{
|
||||
return GetOutputParameter(index, output, num, parameters, length);
|
||||
}
|
||||
|
||||
/* *
|
||||
* Retrieves the output delay at the current index for the given output.
|
||||
* Not recommended as outputs aren't organized and aren't guarenteed to be the same between sessions and servers.
|
||||
@ -497,6 +512,11 @@ stock float GetOutputDelay(int index, const char[] output, int num)
|
||||
return delay;
|
||||
}
|
||||
|
||||
stock float GetOutputActionDelay(int index, const char[] output, int num)
|
||||
{
|
||||
return GetOutputDelay(index, output, num);
|
||||
}
|
||||
|
||||
public SharedPlugin __pl_output_dump_parser =
|
||||
{
|
||||
name = "output_dump_parser",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user