You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <remarks>This function does not work when used in <a href="#OnPlayerDisconnect">OnPlayerDisconnect</a> because the player is already disconnected. It will return an invalid IP (<b><c>255.255.255.255</c></b>). Save players' IPs under <a href="#OnPlayerConnect">OnPlayerConnect</a> if they need to be used under <a href="#OnPlayerDisconnect">OnPlayerDisconnect</a>. </remarks>
576
576
/// <returns><b><c>1</c></b> on success and <b><c>0</c></b> on failure.</returns>
577
-
nativeGetPlayerIp(playerid, ip[], len);
577
+
nativeGetPlayerIp(playerid, name[], len);
578
578
579
579
/// <summary>Get the ping of a player. The ping measures the amount of time it takes for the server to 'ping' the client and for the client to send the message back.</summary>
580
580
/// <param name="playerid">The ID of the player to get the ping of</param>
0 commit comments