sourcemod 1.13 upgrade. moved all plugins from steamworks to ripext. added smjanson and asyncsocket.inc an extra time so its easier to find. updated plugins that would not compile with 1.13
This commit is contained in:
@@ -18,13 +18,13 @@ native bool PM_IsPlayerSteam(int client);
|
||||
* Retrieve clients usertype.
|
||||
*
|
||||
* @param client The client index.
|
||||
* @param type The buffer to write to.
|
||||
* @param maxlength The maximum buffer length.
|
||||
* @param type The integer to write to (1 = Steam, 0 = NoSteam).
|
||||
*
|
||||
* @return True on success, false otherwise.
|
||||
* @error Invalid client index, not connected or fake client.
|
||||
*/
|
||||
native bool PM_GetPlayerType(int client, char[] type, int maxlength);
|
||||
//native bool PM_GetPlayerType(int client, int type);
|
||||
native bool PM_GetPlayerType(int client, char[] buffer, int maxlength);
|
||||
|
||||
/**
|
||||
* Retrieve clients globally unique identifier (GUID).
|
||||
@@ -40,7 +40,7 @@ native int PM_GetPlayerGUID(int client);
|
||||
public SharedPlugin __pl_PlayerManager =
|
||||
{
|
||||
name = "PlayerManager",
|
||||
file = "PlayerManager_Connect.smx",
|
||||
file = "PlayerManager.smx",
|
||||
|
||||
#if defined REQUIRE_PLUGIN
|
||||
required = 1
|
||||
@@ -50,10 +50,10 @@ public SharedPlugin __pl_PlayerManager =
|
||||
};
|
||||
|
||||
#if !defined REQUIRE_PLUGIN
|
||||
public void __pl_PlayerManager_SetNTVOptional()
|
||||
{
|
||||
MarkNativeAsOptional("PM_IsPlayerSteam");
|
||||
MarkNativeAsOptional("PM_GetPlayerType");
|
||||
MarkNativeAsOptional("PM_GetPlayerGUID");
|
||||
}
|
||||
public void __pl_PlayerManager_SetNTVOptional()
|
||||
{
|
||||
MarkNativeAsOptional("PM_IsPlayerSteam");
|
||||
MarkNativeAsOptional("PM_GetPlayerType");
|
||||
MarkNativeAsOptional("PM_GetPlayerGUID");
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user