Showplayerdialog problem
#1

Code
HTML Code:
case 0:
					{
		                ShowPlayerDialog(playerid,1000000,DIALOG_STYLE_MSGBOX,"Commands 1Rank Lvl","a-Admin Chat\n/as-Personaluri Statistika\n/antiddos-ADDOS\n/smson-Sms Migebis Aktivacia\n/alogin - Shesvla Rogorc Admini\n/Cheater-Cheteris Cixeshi Chagdeba\n/Mute-Motamashis Gachumeba\n/Mutelist-Vin Aris Gachumebuli\n/Kick-Gakike Motamashe\n/Pm-Pasuxis Gacema\n/Slap-Motamasheze Mcire Dartyma(Gacherebac)\n/Hp-Hp Dayeneba\n/Reklama-Banner Make\n/Geton-Acc Informacia\n/Mcamera-Meriis Radari\n/Afill-Benzinis Shevseba","Ok","");
		            }
Error:
HTML Code:
C:\Users\Gigi\Desktop\Samp Server Fuliox RP Amx\1413562663_fuliox-rp\Fuliox-Rp\gamemodes\Fuliox-Rp.pwn(20095) : error 075: input line too long (after substitutions)
C:\Users\Gigi\Desktop\Samp Server Fuliox RP Amx\1413562663_fuliox-rp\Fuliox-Rp\gamemodes\Fuliox-Rp.pwn(20096) : error 037: invalid string (possibly non-terminated string)
C:\Users\Gigi\Desktop\Samp Server Fuliox RP Amx\1413562663_fuliox-rp\Fuliox-Rp\gamemodes\Fuliox-Rp.pwn(20096) : error 017: undefined symbol "a"
C:\Users\Gigi\Desktop\Samp Server Fuliox RP Amx\1413562663_fuliox-rp\Fuliox-Rp\gamemodes\Fuliox-Rp.pwn(20096) : error 017: undefined symbol "Chat"
C:\Users\Gigi\Desktop\Samp Server Fuliox RP Amx\1413562663_fuliox-rp\Fuliox-Rp\gamemodes\Fuliox-Rp.pwn(20096) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Line 20096 >>>
HTML Code:
ShowPlayerDialog(playerid,1000000,DIALOG_STYLE_MSGBOX,"Commands 1Rank Lvl","a-Admin Chat\n/as-Personaluri Statistika\n/antiddos-ADDOS\n/smson-Sms Migebis Aktivacia\n/alogin - Shesvla Rogorc Admini\n/Cheater-Cheteris Cixeshi Chagdeba\n/Mute-Motamashis Gachumeba\n/Mutelist-Vin Aris Gachumebuli\n/Kick-Gakike Motamashe\n/Pm-Pasuxis Gacema\n/Slap-Motamasheze Mcire Dartyma(Gacherebac)\n/Hp-Hp Dayeneba\n/Reklama-Banner Make\n/Geton-Acc Informacia\n/Mcamera-Meriis Radari\n/Afill-Benzinis Shevseba","Ok","");
Line 20095 >>>
HTML Code:
case 0:
					{
Reply
#2

Has been asked a thousand times. Please search. Can't be that hard to put "input line too long" in the search box, right?

For the sake of completeness: the maximum valid dialogid is 32767.
Reply
#3

so i must change dialogid ?
Reply
#4

Quote:
Originally Posted by Dezzzy
View Post
so i must change dialogid ?
Yes Ofcourse, i guess you don't have 999999 other dialogs,so use some number like 10 or something for the dialogid
Reply
#5

And : you must use enter to go to the next line.
pawn Code:
ShowPlayerDialog(playerid,9999999,DIALOG_STYLE_MSGBOX,"Commands 1Rank Lvl","a-Admin Chat\n/as-Personaluri Statistika\n/antiddos-ADDOS\n/smson-Sms Migebis Aktivacia\n/alogin - Shesvla Rogorc Admini\n/Cheater-Cheteris Cixeshi Chagdeba\n/Mute-Motamashis Gachumeba\n/Mutelist-Vin Aris Gachumebuli\n/Kick-Gakike Motamashe\n/Pm-Pasuxis Gacema\n/Slap-Motamasheze Mcire Dartyma(Gacherebac)\n/Hp-Hp Dayeneba
\n/Reklama-Banner Make\n/Geton-Acc Informacia\n/Mcamera-Meriis Radari\n/Afill-Benzinis Shevseba"
,"Ok","");
When you get this errors on dialogs you must go to next line. just like i did.
Reply
#6

HTML Code:
C:\Users\Gigi\Desktop\Samp Server Fuliox RP Amx\1413562663_fuliox-rp\Fuliox-Rp\gamemodes\Fuliox-Rp.pwn(20099) : error 037: invalid string (possibly non-terminated string)
C:\Users\Gigi\Desktop\Samp Server Fuliox RP Amx\1413562663_fuliox-rp\Fuliox-Rp\gamemodes\Fuliox-Rp.pwn(20099) : error 017: undefined symbol "a"
C:\Users\Gigi\Desktop\Samp Server Fuliox RP Amx\1413562663_fuliox-rp\Fuliox-Rp\gamemodes\Fuliox-Rp.pwn(20099) : error 017: undefined symbol "Chat"
C:\Users\Gigi\Desktop\Samp Server Fuliox RP Amx\1413562663_fuliox-rp\Fuliox-Rp\gamemodes\Fuliox-Rp.pwn(20099) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
when i pasted your code
also that commands on second line got black color
Reply
#7

pawn Code:
new string[128];
strcat(string, "1.Bala Bala\n", sizeof(string));
strcat(string, "2.Bala Bala\n", sizeof(string));
strcat(string, "3.Bala Bala", sizeof(string));
ShowPlayerDialog(playerid,9999999,DIALOG_STYLE_MSGBOX,"Commands 1Rank Lvl",string,"Ok","");
Reply
#8

HTML Code:
C:\Users\Gigi\Desktop\Samp Server Fuliox RP Amx\1413562663_fuliox-rp\Fuliox-Rp\gamemodes\Fuliox-Rp.pwn(20096) : warning 219: local variable "string" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
20096 Line Is This
HTML Code:
new string[128];
Reply
#9

change it to other names:

pawn Code:
new string1[128];
strcat(string1, "1.Bala Bala\n", sizeof(string1));
strcat(string1, "2.Bala Bala\n", sizeof(string1));
strcat(string1, "3.Bala Bala", sizeof(string1));
ShowPlayerDialog(playerid,9999999,DIALOG_STYLE_MSGBOX,"Commands 1Rank Lvl",string1,"Ok","");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)