String problem
#6

Quote:
pawn Код:
Email[playerid] = PlayerInfo[playerid][pEmail];
You can copy strings like that if the lenght is equal to each other; however, I used to have a problem with this way and it copied only only the first character as well as your problem.

I used
pawn Код:
stock strcpy(dest[], const source[], maxlength=sizeof dest)
{
    strcat((dest[0] = EOS, dest), source, maxlength);
}
and it fixed my problem.
Reply


Messages In This Thread
String problem - by imftb - 22.08.2013, 16:56
Re: String problem - by horsemeat - 22.08.2013, 17:30
Re : String problem - by imftb - 22.08.2013, 17:55
Re : String problem - by imftb - 22.08.2013, 20:32
Re: String problem - by DanishHaq - 22.08.2013, 20:43
Re: String problem - by Konstantinos - 22.08.2013, 21:16
Re : Re: String problem - by imftb - 23.08.2013, 13:20

Forum Jump:


Users browsing this thread: 1 Guest(s)