[questions] Commands
#5

Quote:
Originally Posted by Calgon
Created by Norn (from Carlitos Roleplay):
pawn Код:
stock GetPlayerNameEx(playerid)
{
  new string[24];
  GetPlayerName(playerid,string,24);
  new str[24];
  strmid(str,string,0,strlen(string),24);
  for(new i = 0; i < MAX_PLAYER_NAME; i++)
  {
    if (str[i] == '_') str[i] = ' ';
  }
  return str;
}
Thanks alot, only one thing left where should i put it under ? XD i where trying to find anything but i can't XD
Reply


Messages In This Thread
[questions] Commands - by tony_fitto - 12.09.2009, 23:58
Re: [questions] Commands - by x-cutter - 13.09.2009, 01:05
Re: [questions] Commands - by tony_fitto - 13.09.2009, 10:10
Re: [questions] Commands - by Calgon - 13.09.2009, 10:12
Re: [questions] Commands - by tony_fitto - 14.09.2009, 06:26
Re: [questions] Commands - by Correlli - 14.09.2009, 06:32
Re: [help] onplayertext, Player name - by tony_fitto - 14.09.2009, 06:52
Re: [questions] Commands - by tony_fitto - 14.09.2009, 22:02
Re: [questions] Commands - by tony_fitto - 16.09.2009, 12:42
Re: [questions] Commands - by tony_fitto - 16.09.2009, 12:54

Forum Jump:


Users browsing this thread: 1 Guest(s)