From 12b9e2750e552ad90eaead6f6d674d5f0db95fc7 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 14 Feb 2007 17:48:49 +0000 Subject: [PATCH] made these names more consistent, except for authorized, since only players get authids --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40498 --- core/smn_player.cpp | 6 +++--- plugins/include/sourcemod.inc | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/smn_player.cpp b/core/smn_player.cpp index 41378cf2..006cb0cf 100644 --- a/core/smn_player.cpp +++ b/core/smn_player.cpp @@ -398,10 +398,10 @@ REGISTER_NATIVES(playernatives) {"GetClientName", sm_GetClientName}, {"GetClientIP", sm_GetClientIP}, {"GetClientAuthString", sm_GetClientAuthStr}, - {"IsPlayerConnected", sm_IsPlayerConnected}, + {"IsClientConnected", sm_IsPlayerConnected}, {"IsPlayerInGame", sm_IsPlayerIngame}, - {"IsPlayerAuthorized", sm_IsPlayerAuthorized}, - {"IsPlayerFakeClient", sm_IsPlayerFakeClient}, + {"IsClientAuthorized", sm_IsPlayerAuthorized}, + {"IsFakeClient", sm_IsPlayerFakeClient}, {"PrintToServer", sm_PrintToServer}, {"PrintToConsole", sm_PrintToConsole}, {"GetClientInfo", sm_GetClientInfo}, diff --git a/plugins/include/sourcemod.inc b/plugins/include/sourcemod.inc index 6592a949..fc0cb0a0 100644 --- a/plugins/include/sourcemod.inc +++ b/plugins/include/sourcemod.inc @@ -212,7 +212,7 @@ native GetClientUserId(client); * @param client Player index. * @return True if player is connected to the server, false otherwise. */ -native bool:IsPlayerConnected(client); +native bool:IsClientConnected(client); /** * Returns if a certain player has entered the game. @@ -228,7 +228,7 @@ native bool:IsPlayerInGame(client); * @param client Player index. * @return True if player has been authenticated, false otherwise. */ -native bool:IsPlayerAuthorized(client); +native bool:IsClientAuthorized(client); /** * Returns if a certain player is a fake client. @@ -236,7 +236,7 @@ native bool:IsPlayerAuthorized(client); * @param client Player index. * @return True if player is a fake client, false otherwise. */ -native bool:IsPlayerFakeClient(client); +native bool:IsFakeClient(client); /** * Retrieves values from client replicated keys.