forked from UNLOZE/sm-plugins
[AutoRecorder] Add two natives for information.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#if defined AutoRecorder_included
|
||||
#endinput
|
||||
#endif
|
||||
#define AutoRecorder_included
|
||||
|
||||
native int GetDemoRecordingNumber();
|
||||
native int GetDemoRecordingTick();
|
||||
|
||||
public SharedPlugin __pl_AutoRecorder =
|
||||
{
|
||||
name = "AutoRecorder",
|
||||
file = "AutoRecorder.smx",
|
||||
#if defined REQUIRE_PLUGIN
|
||||
required = 1
|
||||
#else
|
||||
required = 0
|
||||
#endif
|
||||
};
|
||||
|
||||
#if !defined REQUIRE_PLUGIN
|
||||
public void __pl_AutoRecorder_SetNTVOptional()
|
||||
{
|
||||
MarkNativeAsOptional("GetDemoRecordingNumber");
|
||||
MarkNativeAsOptional("GetDemoRecordingTick");
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user