Skip to content

Commit 64c3797

Browse files
authored
Merge pull request #15 from dev-karpov0/patch-1
Removed bool tag from SetPlayerName() and updated its description.
2 parents 60336f6 + c08237a commit 64c3797

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

omp_player.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,11 +1587,11 @@ native GetPlayerColor(playerid);
15871587
* </remarks>
15881588
* <returns>
15891589
* <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).
1590+
* <b><c>0</c></b> The player is not connected or the name is already in use.<br />
1591+
* <b><c>-1</c></b> The name can not be changed (it's less than 3 symbols, too long or has invalid characters).
15921592
* </returns>
15931593
*/
1594-
native bool:SetPlayerName(playerid, const name[]);
1594+
native SetPlayerName(playerid, const name[]);
15951595

15961596
/**
15971597
* <library>omp_player</library>

0 commit comments

Comments
 (0)