forked from UNLOZE/sm-plugins
Make ForumIntegration request username, and thus use this in listwinners to make the whole thing async.
Rework listwinners (reward) plugin so now it's async and simple. go back to ded
This commit is contained in:
@@ -10,6 +10,7 @@ typeset AsyncHasSteamIDReservedSlotCallbackFunc
|
||||
};
|
||||
|
||||
native void AsyncHasSteamIDReservedSlot(const char[] sSteam32ID, AsyncHasSteamIDReservedSlotCallbackFunc Callback, any Data = 0);
|
||||
native void GetClientForumName(int client, char[] sName, int len);
|
||||
|
||||
public SharedPlugin __pl_UNLOZE_ForumIntegration =
|
||||
{
|
||||
@@ -26,5 +27,6 @@ public SharedPlugin __pl_UNLOZE_ForumIntegration =
|
||||
public __pl_UNLOZE_ForumIntegration_SetNTVOptional()
|
||||
{
|
||||
MarkNativeAsOptional("AsyncHasSteamIDReservedSlot");
|
||||
MarkNativeAsOptional("GetClientForumName");
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user