Strlen not working correctly
#6

I'm not sure if it would work, because I'm not sure what the function actually returns, but have you tried:
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.
Reply


Messages In This Thread
Strlen not working correctly - by jameskmonger - 21.09.2012, 20:04
Re: Strlen not working correctly - by HuSs3n - 21.09.2012, 20:08
Re: Strlen not working correctly - by jameskmonger - 21.09.2012, 20:43
Re: Strlen not working correctly - by jameskmonger - 22.09.2012, 00:13
Re: Strlen not working correctly - by jameskmonger - 22.09.2012, 13:42
Re: Strlen not working correctly - by clarencecuzz - 22.09.2012, 13:46
Re: Strlen not working correctly - by jameskmonger - 22.09.2012, 13:50
Re: Strlen not working correctly - by Slice - 22.09.2012, 16:17
Re: Strlen not working correctly - by jameskmonger - 22.09.2012, 18:42
Re: Strlen not working correctly - by Slice - 22.09.2012, 21:45

Forum Jump:


Users browsing this thread: 1 Guest(s)