We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60336f6 commit 5143d8cCopy full SHA for 5143d8c
1 file changed
omp_player.inc
@@ -1587,11 +1587,11 @@ native GetPlayerColor(playerid);
1587
* </remarks>
1588
* <returns>
1589
* <b><c>1</c></b> The name was changed successfully.<br />
1590
- * <b><c>0</c></b> The player already has that name.<br />
1591
- * <b><c>-1</c></b> The name can not be changed (it's already in use, too long or has invalid characters).
+ * <b><c>0</c></b> The player is not connected, player already has that name or it's already taken by another player.<br />
+ * <b><c>-1</c></b> The name can not be changed (it's too long or has invalid characters).
1592
* </returns>
1593
*/
1594
-native bool:SetPlayerName(playerid, const name[]);
+native SetPlayerName(playerid, const name[]);
1595
1596
/**
1597
* <library>omp_player</library>
0 commit comments