newline GameTextForPlayer not work
#1

why no one second line is working on this GameTextForPlayer?

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 first line format(str, sizeof(str), "~y~mission passed!~n~");
the next ones no one is working
why?
Reply


Messages In This Thread
newline GameTextForPlayer not work - by binnyl - 02.01.2020, 10:26
Re: newline GameTextForPlayer not work - by coool - 02.01.2020, 12:33
Re: newline GameTextForPlayer not work - by YouShootIDodge - 02.01.2020, 12:36
Re: newline GameTextForPlayer not work - by binnyl - 02.01.2020, 14:06
Re: newline GameTextForPlayer not work - by Flofey - 02.01.2020, 14:16
Re: newline GameTextForPlayer not work - by binnyl - 02.01.2020, 16:07
Re: newline GameTextForPlayer not work - by Flofey - 02.01.2020, 16:55

Forum Jump:


Users browsing this thread: 1 Guest(s)