02.01.2020, 10:26
why no one second line is working on this GameTextForPlayer?
the first line format(str, sizeof(str), "~y~mission passed!~n~");
the next ones no one is working
why?
Code:
new str[128], final[512]; format(str, sizeof(str), "~y~mission passed!~n~"); strcat(final, str); if(reward_exp > 0) { format(str, sizeof(str), "~w~+%i exp ", reward_exp); strcat(final, str); } if(reward_criminal > 0) { format(str, sizeof(str), "~w~+%i criminal ", reward_criminal); strcat(final, str); } if(reward_cop > 0) { format(str, sizeof(str), "~w~+%i cop ", reward_cop); strcat(final, str); } if(reward_money > 0) { format(str, sizeof(str), "~w~+%i$ ", reward_money); strcat(final, str); } GameTextForPlayer(playerid,final, 3000, 3);
the next ones no one is working
why?