Skip to content

Commit 23c031e

Browse files
authored
Update a_players.inc
1 parent e9b81e3 commit 23c031e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

a_players.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1545,7 +1545,7 @@ native SetPVarString(playerid, const varname[], const string_value[]);
15451545
/// <seealso name="DeletePVar"/>
15461546
/// <remarks>If length of string is zero (value not set), string_return text will not be updated or set to anything and will remain with old data, neccesying that you clear the variable to blank value if <a href="#GetPVarString">GetPVarString</a> returns <b><c>0</c></b> if that behavior is undesired </remarks>
15471547
/// <returns>The length of the string.</returns>
1548-
native GetPVarString(playerid, const varname[], string_return[], len = string_return);
1548+
native GetPVarString(playerid, const varname[], string_return[], len = sizeof string_return);
15491549

15501550
/// <summary>Set a float player variable's value.</summary>
15511551
/// <param name="playerid">The ID of the player whose player variable will be set</param>

0 commit comments

Comments
 (0)