01.11.2016, 11:41
Nice include.
Tell us in which year we are at, and when you do, do not reply back.
Funniest thing is that you tried to correct him, yet you have done a mistake in your own example. Do you expect people to use it now?
Quote:
There are a lot of people who will copy your example code and use it.
Код:
new Test[600]; strcat(Test,"~y~1-~w~ Message 1~n~"); strcat(Test,"~y~2-~w~ Message 2~n~"); strcat(Test,"~y~3-~w~ Message 3~n~"); strcat(Test,"~y~4-~w~ Message 4~n~"); strcat(Test,"~y~5-~w~ Message 5~n~"); strcat(Test,"~y~6-~w~ Message 6"); TextMenuShowForPlayer(playerid,0,"Items",Test,6); Код:
TextMenuShowForPlayer(playerid,0,"Items","~y~1-~w~ Message 1~n~~y~2-~w~ Message 2~n~~y~3-~w~ Message 3~n~~y~4-~w~ Message 4~n~~y~5-~w~ Message 5~n~~y~6-~w~ Message 6",6); Код:
static Test[600], bool:need_format = true; if(need_format) { strcat(Test,"~y~1-~w~ Message 1~n~"); strcat(Test,"~y~2-~w~ Message 2~n~"); strcat(Test,"~y~3-~w~ Message 3~n~"); strcat(Test,"~y~4-~w~ Message 4~n~"); strcat(Test,"~y~5-~w~ Message 5~n~"); strcat(Test,"~y~6-~w~ Message 6"); need_format = true; } TextMenuShowForPlayer(playerid,0,"Items",Test,6); |
Funniest thing is that you tried to correct him, yet you have done a mistake in your own example. Do you expect people to use it now?