13.09.2015, 12:02
Hello,
I want do a string where people who don't fill the condition will see another string. But, with what I do. If, the player fill conditions : the player see two times, the string when you fill conditions.
This is just an example.
If the player fill condition with this code, he see two times the string so, two times his name. Can you help me ?
I want do a string where people who don't fill the condition will see another string. But, with what I do. If, the player fill conditions : the player see two times, the string when you fill conditions.
Quote:
if(AccInfo[playerid][example] == 1) { format(tmp, sizeof(tmp), "Nick : %s \n", Playername2(player1)); strcat(string, tmp); } else format(tmp, sizeof(tmp), "You don't fill the condition\n"); strcat(string, tmp); |
If the player fill condition with this code, he see two times the string so, two times his name. Can you help me ?