Can somebody help me?
#6

Quote:
Originally Posted by Dokins
Посмотреть сообщение
He didnt say. I will give him the function. Also that doesnt make it a BAD example, it just means its not complete, He needs to learn.

pawn Код:
GetNameEx(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;
}
Sorry i'm a noob with Pawno, So where do i put that code in my script?
Reply


Messages In This Thread
Can somebody help me? - by Blunt - 14.09.2011, 19:55
Re: Can somebody help me? - by Dokins - 14.09.2011, 20:00
Re: Can somebody help me? - by Kush - 14.09.2011, 20:05
Re: Can somebody help me? - by Blunt - 14.09.2011, 20:07
Re: Can somebody help me? - by Dokins - 14.09.2011, 20:08
Re: Can somebody help me? - by Blunt - 14.09.2011, 20:10
Re: Can somebody help me? - by Dokins - 14.09.2011, 20:24
Re: Can somebody help me? - by scottyishere - 14.09.2011, 20:30

Forum Jump:


Users browsing this thread: 3 Guest(s)