sm-plugins/includes/unloze.inc

33 lines
872 B
PHP
Raw Normal View History

#if defined _UNLOZE_ForumIntegration_Included
2018-07-23 10:45:59 +02:00
#endinput
#endif
#define _UNLOZE_ForumIntegration_Included
2018-07-23 10:45:59 +02:00
typeset AsyncHasSteamIDReservedSlotCallbackFunc
2018-07-23 10:45:59 +02:00
{
function void (const char[] sSteam32ID, int Result);
function void (const char[] sSteam32ID, int Result, any Data);
};
native void AsyncHasSteamIDReservedSlot(const char[] sSteam32ID, AsyncHasSteamIDReservedSlotCallbackFunc Callback, any Data = 0);
native void GetClientForumName(int client, char[] sName, int len);
2018-07-23 10:45:59 +02:00
public SharedPlugin __pl_UNLOZE_ForumIntegration =
2018-07-23 10:45:59 +02:00
{
name = "UNLOZE_ForumIntegration",
2019-09-23 14:27:30 +02:00
file = "UNLOZE_ForumIntegration.smx",
2018-07-23 10:45:59 +02:00
#if defined REQUIRE_PLUGIN
required = 1,
#else
required = 0,
#endif
};
#if !defined REQUIRE_PLUGIN
public __pl_UNLOZE_ForumIntegration_SetNTVOptional()
2018-07-23 10:45:59 +02:00
{
MarkNativeAsOptional("AsyncHasSteamIDReservedSlot");
MarkNativeAsOptional("GetClientForumName");
2018-07-23 10:45:59 +02:00
}
#endif