11.07.2014, 13:47
for huge arrays with text use strpack and unpack
and after if you want to 'decode'
pawn Код:
new playermail[MAX_PLAYERS][128 char];
stock SendPlayerMail(playerid, text[])
{
if(IsPlayerConnected(playerid))
strpack(playermail[playerid],text,sizeof(playermail[]));
}
pawn Код:
new Mail[128];
strunpack(Mail,playermail[playeris]);
SendClientMessage(playerid,-1,Mail); // Mail is now your playermail[playerid]