02.01.2020, 16:55
Quote:
The code u post is exactly like mine but u put a ~n~ creating 5 lines instead of 2
i want this: Mission Passed! +30 exp +20 criminal +5 cop +300000$ just like i tried to do the problem is this second line: +30 exp +20 criminal +5 cop +300000$ is not showing and idk why |
try this now
PHP Code:
if(reward_exp > 0 && reward_criminal > 0 && reward_cop > 0 && reward_money > 0)
{
format(str2, sizeof(str2), "~y~mission passed!~n~ ~w~+%i exp, ~w~+%i criminal, ~w~+%i cop, ~w~+%i$", reward_exp , reward_criminal, reward_cop, reward_money);
strcat(final, str);
GameTextForPlayer(playerid,final, 3000, 3);
}