Question about string
#1

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.

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);

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 ?
Reply
#2

i m also new like u ...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)