How to remove "_" from names in RP servers?
#1

Like while doing an Announcement from an Admin...

Code:
		new sendername[MAX_PLAYER_NAME];
		new msg[256];
		if (sscanf(params, "s", msg)) SendClientMessage(playerid, COLOR_RED, "USAGE: /ann [text]");
		else {
		    GetPlayerName(playerid, sendername, sizeof(sendername));
		    format(msg, sizeof(msg), "Announcement from %s: %s", sendername, msg);
		    SendClientMessageToAll(COLOR_LOCALMSG, msg);
		    }
		    }
	return 1;
}
How to remove "_" from message? Thanks!
Reply


Messages In This Thread
How to remove "_" from names in RP servers? - by Injector - 07.01.2011, 12:59
Re: How to remove "_" from names in RP servers? - by Alex_Valde - 07.01.2011, 13:05
Re: How to remove "_" from names in RP servers? - by Injector - 07.01.2011, 13:09
Re: How to remove "_" from names in RP servers? - by Alex_Valde - 07.01.2011, 13:10

Forum Jump:


Users browsing this thread: 1 Guest(s)