invalid character constant
#1

pawn Код:
new ololo[550]; //9833
        format(ololo,sizeof(ololo),"Leveli:[%d] Sqesi:[%s] Asaki:[%d] Qveyana:[%s] Spawn Health:[%.1f]\nFuli:[$%d] Banki:[$%d] Telefoni:[%d] VIP:[%s] Daqorwinebulia:[%s] Saati Tamashshii:[%d] Mute Time:[%d]\nSamushao:[%s] Dawerili Tevzebi:[%d] Yvelaze Didi Tevzi:[%d] Danashauli:[%d] Dro Cixeshi:[%d]\nSikvdili cixeshi:[%d] Mkveloba:[%d] Sikvdili:[%d] shemdegi levelis fasi:[%d] Respecti:[%d/%d] Wanted Level:[%d]\nOjaxi:[%s] Narkotiki:[%d] Materiali:[%d] fraction:[%s] Avadmyofoba:[%s] Banda/Mafia:[%s] Ranki:[%s] \n Vehmodel1[%s] Vehmodel2[%s] Vehmodel3[%s] \n Veh1Locked[%d] Veh2Locked[%d] Veh3Locked[%d]"//9834
        ,level,atext,age,otext,shealth+50, cash, account, pnumber, drank,married,ptime,lotto,jtext, fishes,bigfish,crimes,arrests,warrests,kills,deaths,costlevel,exp,expamount,wanted,f2text,drugs,mats,ttext,dtext,ftext,rtext,PlayerInfo[targetid][pRank],CarInfo[carkey][cDescription],CarInfo[carkey2][cDescription],CarInfo[carkey3][cDescription],CarInfo[carkey][cLock],CarInfo[carkey2][cLock],CarInfo[carkey3][cLock]);
        ShowPlayerDialog(playerid, 1932, DIALOG_STYLE_MSGBOX,"Tqveni statistika:",ololo,"ENTER","EXIT");

Код:
C:\Users\User\Desktop\la-rp\gamemodes\lvdm.pwn(9833) : error 075: input line too long (after substitutions)
(9834) : error 027: invalid character constant
(9834) : error 029: invalid expression, assumed zero
(9834) : error 029: invalid expression, assumed zero
(9834) : fatal error 107: too many error messages on one line
please help
Reply
#2

Your statement is too long, generating compiler error. The max character count on a single line is 510 if I'm not mistaken. You've exceeded the max character limit.
Reply
#3

You can not have 550 characters on 1 string,I don't know what the max is,but try to separate this to 2 lines with 256 characters each.
Reply
#4

pawn Код:
new
MyText[1024] = "example ....                                                                               .....\n";
strcat(MyText, "example2                  ....                                     ...                    \n");
strcat(MyText, "example 3                       ....                           ....                                                              .....");
ShowPlayerDialog(playerid, 1932, DIALOG_STYLE_MSGBOX,"Tqveni statistika:",MyText,"ENTER","EXIT");
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)