onplayertext long line error need solution [+rep] - 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: onplayertext long line error need solution [+rep] (
/showthread.php?tid=635858)
onplayertext long line error need solution [+rep] -
Aldrago - 15.06.2017
guys i'm trying there is coming long line error so i solve it by doing this "Hello world",
"how are you"
after when player type command Hello world is coming but how are you not coming if i remove this , sign its giving error of missing Need Help how i Solve This Problem TextDraw
PHP Code:
if(input == 1)
{
new str[286],str1[286];
format(str,sizeof(str),"SERVICE COMMANDS");
TextDrawSetString(cmds[1], str);
format(str1,sizeof(str1),"~y~Type ~w~/pm ~y~For Private Message~w~.~n~~y~Type ~w~/r ~y~To Reply Private Message~w~.~n~~y~Type ~w~/nopm ~y~To ignore Private Message~w~. ~n~ ~y~Type ~w~/gender ~y~To check Your Current Gender~w~.",
"~n~~y~Type ~w~/Male OR Female To Set your Gender~w~.~n~ ~y~Type ~w~/changegender ~y~To change Gender~w~. ~n~~y~Type ~w~/skin ~y~To Change your Skin~w~.~n~~y~Type ~w~/saveskin ~y~For Save Your Current You Skin~w~. ~n~ ~y~Press ~r~(N) ~y~To Close ");
TextDrawSetString(cmds[0], str1);
TextDrawShowForPlayer(playerid, cmds[0]);
TextDrawShowForPlayer(playerid, cmds[1]);
COMMANDS_VIEW[playerid] = 0;
SERVICE_VIEW[playerid] = 1;
}
Re: onplayertext long line error need solution [+rep] -
Aldrago - 15.06.2017
Man I need Help PLZ