16.02.2012, 12:45
You can redo this by dividing the work into smaller parts.
Example.
I hope you get the idea.
Example.
pawn Код:
new
s_1[256],
s_2[256],
s_3[256],
name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(s_1,sizeof(s_1),"** %s **",name);
format(s_2,sizeof(s_2),"Cash: [$%d] Bank: [$%d] Total Wealth: [$%d]",pInfo[playerid][pCash] = GetPlayerMoney(playerid),pInfo[playerid][pBank],pInfo[playerid][pCash] + pInfo[playerid][pBank]);
format(s_3,sizeof(s_3),"Job: [%s] Faction: [%s] Rank: [%s] Materials: [%d] Crack: [%d]",jText,fText,rText,pInfo[playerid][pMats],pInfo[playerid][pCrack]);