30.04.2018, 09:42
Let me show you an example:
So above you see 2 strings. These strings are defined with 'str'. These strings are converted into string2.
So when you would do this:
The player will get this message:
PHP код:
new str[128], string2[1024];
format(str,sizeof(str),"Text 1");
strcat(string2,str);
format(str,sizeof(str),"Text 2");
strcat(string2,str);
So when you would do this:
PHP код:
SendClientMessage(playerid, -1, string2);
Код:
Text 1Text 2