any idea
#1

Any idea how to delete this "_" in player name. For example John_Smith and it should be John Smith. This is my first post in this topic so please don't punish me
Reply
#2

Well here's an example:

pawn Код:
new name[10] = "John_Mayor";
name[strfind(name, "_", true)] = ' ';

printf("Name: %s",name); // Returns John Mayor
All it does is find the cell containing _ and then replace it with a space character.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)