Removing "_" in a name.
#1

Been a while since I was in need of help, but I can't seem to figure this one out.
How do I remove the "_" in a name.

For example

pawn Код:
if(IsPlayerInAnyVehicle(playerid) && ison911[playerid] != 1 && isoncall[playerid] == false && h >= 10 && Pmaskon[playerid] == mask_off && carwindow[GetPlayerVehicleID(playerid)] == 0)
    {
        format(string, sizeof(string), "[%s][Windows Closed] %s : %s", acc,name, text);
        LocalChat(5.0, playerid, string, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5);
        printf("[LOCAL CHAT] %s, %s", name, text);
    }
Let's say my name is Pieter_Awesome.

How can I show it as Pieter Awesome instead of Pieter_Awesome?
I only know it has something to do with strfind, but can't seem to figure out what.
Reply


Messages In This Thread
Removing "_" in a name. - by milanosie - 24.06.2012, 15:04
Re: Removing "_" in a name. - by Joey^ - 24.06.2012, 15:10
Re: Removing "_" in a name. - by Vince - 24.06.2012, 15:11
Re: Removing "_" in a name. - by milanosie - 24.06.2012, 15:11
Re: Removing "_" in a name. - by Lorenzo* - 10.07.2012, 06:13

Forum Jump:


Users browsing this thread: 1 Guest(s)