30.07.2013, 09:36
PlayerInfo[playerid][pForum] should have 32 lenght as well in order to work. It's possible to copy strings like that if the lenght are same to both of them. If I were you, then I would copy the string with:
PS: format is too slow, try using other methods such as strins for example!
pawn Код:
stock strcpy(dest[], const source[], maxlength=sizeof dest)
{
strcat((dest[0] = EOS, dest), source, maxlength);
}
pawn Код:
strcpy(PlayerInfo[playerid][pForum], s_forumname);

