2 strings in 1
#2

You do not need to create neither a second or a third string variable. You can just:

pawn Код:
format(text, sizeof(text), ""COL_BLUE"DM score: "COL_WHITE"%d\n"COL_BLUE"Deaths: "COL_WHITE"%d\n"COL_BLUE"Race Score: "COL_WHITE"%d\n"COL_BLUE"Reaction test won:"COL_WHITE" %d", PlayerInfo[clickedplayerid][pKills], PlayerInfo[clickedplayerid][pDeaths], PlayerInfo[clickedplayerid][pRscore], PlayerInfo[clickedplayerid][pReaction]);
format(text, sizeof(text), ""COL_BLUE"Online:"COL_WHITE" %d Days %d Hours %d Minutes",PlayerInfo[clickedplayerid][pDay], PlayerInfo[clickedplayerid][pHour], PlayerInfo[clickedplayerid][pMin]);
Reply


Messages In This Thread
2 strings in 1 - by CroM256 - 13.03.2014, 17:29
Re: 2 strings in 1 - by Ruben_Alonso - 13.03.2014, 17:30
Re: 2 strings in 1 - by CroM256 - 13.03.2014, 17:39
Re: 2 strings in 1 - by Ruben_Alonso - 13.03.2014, 17:54
Re: 2 strings in 1 - by CroM256 - 13.03.2014, 18:05
Re: 2 strings in 1 - by Ruben_Alonso - 13.03.2014, 18:13

Forum Jump:


Users browsing this thread: 1 Guest(s)