sscanf
#1

Hi,

I use sscanf, but i have create command /sms, all is fine, but you can't use player last name i use 'u' simbol, for part of name.
Reply
#2

Code?

You got to use the _ in the name.
Reply
#3

pawn Код:
GetPlayerNameEx(playerid) {

        new sz_playerName[MAX_PLAYER_NAME], i_pos;
        GetPlayerName(playerid, sz_playerName, MAX_PLAYER_NAME);
        while ((i_pos = strfind(sz_playerName, "_", false, i_pos)) != -1) sz_playerName[i_pos] = ' ';
        return sz_playerName;
}
Removes the "_" in the players name while getting it.

Besides that if you could give the code to what your trying to get it it would be more easier.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)