Little problem.
#2

Код:
stock GetRPName(playerid)
{
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    for(new i = 0; i < MAX_PLAYER_NAME; i++)
    {
        if(name[i] == '_') name[i] = ' ';
    }
    return name;
}
You'll have to use GetRPName instead of GetPlayerName if you want to remove underscores, just stick this anywhere in your game mode
Reply


Messages In This Thread
Little problem. - by AlterEGO - 24.03.2015, 15:00
Re: Little problem. - by JaydenJason - 24.03.2015, 15:08
Re: Little problem. - by fuckingcruse - 24.03.2015, 15:16
Re: Little problem. - by zork - 24.03.2015, 15:18
Re: Little problem. - by AlterEGO - 29.03.2015, 18:20
Re: Little problem. - by ATGOggy - 29.03.2015, 18:23
Re: Little problem. - by JaydenJason - 29.03.2015, 18:25
Re: Little problem. - by CalvinC - 29.03.2015, 18:43
Re: Little problem. - by AlterEGO - 29.03.2015, 21:01

Forum Jump:


Users browsing this thread: 4 Guest(s)