13.08.2014, 23:08
Its not ok because you can see only last item, use strcat, char array and packed strings
show itemstr
pawn Код:
static itemstr[128 char];
if(PlayerHaveEagle == 1) itemstr = !"Item 1: Eagle (Have)\n";
else itemstr = !"Item 1: Eagle (Don't Have)\n";
if(PlayerHaveKnife == 1) strcat(itemstr,!"Item 1: Knife (Have)\n");
else strcat(itemstr,!"Item 1: Knife (Don't Have)\n");
if(PlayerHaveShotgun == 1) strcat(itemstr,!"Item 1: ShotGun (Have)");
else strcat(itemstr,!"Item 1: ShotGun (Don't Have)");