18.08.2012, 19:13
Basically, I'm trying to make a function based off GetPlayerName, but to remove the "_" and replace it with a space.
Could anyone help me with the rest please?
pawn Код:
stock GetPlayerRoleplayName(playerid)
{
new playa[MAX_PLAYER_NAME],result[34];
GetPlayerName(playerid,playa,sizeof(playa));
if(strfind(playa,"_",true) != -1)
{
return result;
}
}