22.09.2012, 13:46
I'm not sure if it would work, because I'm not sure what the function actually returns, but have you tried:
??
Otherwise just try making a new variable and getting the length of that instead.
pawn Код:
strlen(GetPlayerNameEx(playerid))
Otherwise just try making a new variable and getting the length of that instead.
pawn Код:
new PLAYERSNAME[MAX_PLAYER_NAME];
GetPlayerName(playerid, PLAYERSNAME, MAX_PLAYER_NAME);
/* Whatever goes here */ strlen(PLAYERSNAME) //Etc.