Removing "_" from player names
#6

well here is the method i created first we get the palyer name, then we check each player name and foreach player name that has "_" it will be seend as " ".

for example
pawn Код:
new string[32];
format(string, sizeof(string), "%s", RPNAME(playerid));
SendClientMessage(playerid, -1, string);

//in a command via zcmd ...
CMD:namecheck(playerid, params[])
{
  new string[32];
  format(string, sizeof(string), "%s", RPNAME(playerid));
  SendClientMessage(playerid, -1, string);
  return 1;
}
Reply


Messages In This Thread
Removing "_" from player names - by Noles2197 - 18.01.2013, 00:44
Re: Removing "_" from player names - by Pooh7 - 18.01.2013, 00:49
Re: Removing "_" from player names - by SchurmanCQC - 18.01.2013, 00:50
Re: Removing "_" from player names - by Glad2BeHere - 18.01.2013, 04:11
Re: Removing "_" from player names - by ViruZz - 18.01.2013, 04:12
Re: Removing "_" from player names - by Glad2BeHere - 18.01.2013, 04:40

Forum Jump:


Users browsing this thread: 1 Guest(s)