We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 60336f6 + c08237a commit 64c3797Copy full SHA for 64c3797
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 or the name is already in use.<br />
+ * <b><c>-1</c></b> The name can not be changed (it's less than 3 symbols, 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