Question about string - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Question about string (
/showthread.php?tid=588887)
Question about string -
sam29 - 13.09.2015
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 ?
Re: Question about string -
sanamalik400 - 13.09.2015
i m also new like u

...