Weird error.
#1

Код:
C:\Users\Kevin Burke\Desktop\#Burke\filterscripts\K-TELEPORT.pwn(84) : error 075: input line too long (after substitutions)
C:\Users\Kevin Burke\Desktop\#Burke\filterscripts\K-TELEPORT.pwn(85) : error 037: invalid string (possibly non-terminated string)
C:\Users\Kevin Burke\Desktop\#Burke\filterscripts\K-TELEPORT.pwn(85) : warning 215: expression has no effect
C:\Users\Kevin Burke\Desktop\#Burke\filterscripts\K-TELEPORT.pwn(85) : error 001: expected token: ";", but found "-integer value-"
C:\Users\Kevin Burke\Desktop\#Burke\filterscripts\K-TELEPORT.pwn(85) : warning 215: expression has no effect
C:\Users\Kevin Burke\Desktop\#Burke\filterscripts\K-TELEPORT.pwn(85) : error 001: expected token: ";", but found "\"
C:\Users\Kevin Burke\Desktop\#Burke\filterscripts\K-TELEPORT.pwn(85) : fatal error 107: too many error messages on one line
I'm getting these errors when doing my filterscript. Everything seems fine in the line 85.

Код:
	ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "{67D0F0}K-TELEPORT || Interior list", "24/7 1\n24/7 2\n24/7 3\n24/7 4\n24/7 5\n24/7 6\nAirport Ticket Desk\nAirport Baggage Reclaim\nShamal\nAndromada\nAmmunation 1\nAmmunation 2\nAmmunation 3\nAmmunation 4\nAmmunation 5\nAmmunation Booths\nAmmunation Range\nBlastin Fools Hallway\nBudget inn Motel Room\nJefferson Motel\nOff Track Betting Shop\nSex Shop\nMeat Factory\nZero's RC Shop\nDillimore Gas Station\nCaltigula's Basement\nFDC Janitors Room\nWoozie's Office\nBinco\nDidier Sachs\nProlaps\nSuburban\nVictim\nZip\nClub\nBar\nLil' Probe inn\nJay's Dinner\nGant Bridge Dinner\nSecret Valley Dinner\nWorld of Coq\nWelcome Pump\nBurger Shot\nCluckin Bell\nWell Stacked Pizza\nRusty Browns Donuts\nDenise Room\nKatie Room\nHelena Room\nMichelle Room\nBarbara Room\nMillie Room\nSherman Dam\nPlanning dept.\nArea 51\nLS Gym\nSF Gym\nLV Gym\nB Dup's House\nB Dup's Crack Pad\nJohnsons House\nMadd Dogs Mansion\nOG Loc's House\nRyder's House\nSweet's House\nCrack Factory\nBig Spread Ranch\nFanny Batters\nStrip Club\nStrip Club Private Room\nUnnamed brothel\nTiger skin brothel\nPleasure Domes\nLiberty City (outside)\nLiberty City\nGang House\nColonel Fuhrberg's\nCrack Den\nWarehouse 1\nWarehouse 2\nSweet's Garage\nLil' Probe Inn Toilet\nUnused Safe House\nRC Battlefield\nBarber 1\nBarber 2\nBarber 3\nTatoo Parlour 1\nTatoo Parlour 2\nTatoo Parlour 3\nLS Police HQ\nSF Police HQ\nLV Police HQ\nCar School\n8-Track\nBloodbowl\nDirt Track\nKickstart\nVice Stadium\nSF Garage\nLS Garage\nSF Bomb Shop\nBlueberry Warehouse\nLV Warehouse 1\nLV Warehouse 2\nCaltigula's Hidden Room\nBank\nBank (behind desk)\nLS Atrium\nBike School\n""Goto", "Close");
That's the line 85. I'm not sure, if it's too long or something. And the command that includes this line is;
Код:
CMD:gotoint(playerid, params[])
{
	if(!IsPlayerAdmin(playerid)) return NoAuth(playerid);
	ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "{67D0F0}K-TELEPORT || Interior list", "24/7 1\n24/7 2\n24/7 3\n24/7 4\n24/7 5\n24/7 6\nAirport Ticket Desk\nAirport Baggage Reclaim\nShamal\nAndromada\nAmmunation 1\nAmmunation 2\nAmmunation 3\nAmmunation 4\nAmmunation 5\nAmmunation Booths\nAmmunation Range\nBlastin Fools Hallway\nBudget inn Motel Room\nJefferson Motel\nOff Track Betting Shop\nSex Shop\nMeat Factory\nZero's RC Shop\nDillimore Gas Station\nCaltigula's Basement\nFDC Janitors Room\nWoozie's Office\nBinco\nDidier Sachs\nProlaps\nSuburban\nVictim\nZip\nClub\nBar\nLil' Probe inn\nJay's Dinner\nGant Bridge Dinner\nSecret Valley Dinner\nWorld of Coq\nWelcome Pump\nBurger Shot\nCluckin Bell\nWell Stacked Pizza\nRusty Browns Donuts\nDenise Room\nKatie Room\nHelena Room\nMichelle Room\nBarbara Room\nMillie Room\nSherman Dam\nPlanning dept.\nArea 51\nLS Gym\nSF Gym\nLV Gym\nB Dup's House\nB Dup's Crack Pad\nJohnsons House\nMadd Dogs Mansion\nOG Loc's House\nRyder's House\nSweet's House\nCrack Factory\nBig Spread Ranch\nFanny Batters\nStrip Club\nStrip Club Private Room\nUnnamed brothel\nTiger skin brothel\nPleasure Domes\nLiberty City (outside)\nLiberty City\nGang House\nColonel Fuhrberg's\nCrack Den\nWarehouse 1\nWarehouse 2\nSweet's Garage\nLil' Probe Inn Toilet\nUnused Safe House\nRC Battlefield\nBarber 1\nBarber 2\nBarber 3\nTatoo Parlour 1\nTatoo Parlour 2\nTatoo Parlour 3\nLS Police HQ\nSF Police HQ\nLV Police HQ\nCar School\n8-Track\nBloodbowl\nDirt Track\nKickstart\nVice Stadium\nSF Garage\nLS Garage\nSF Bomb Shop\nBlueberry Warehouse\nLV Warehouse 1\nLV Warehouse 2\nCaltigula's Hidden Room\nBank\nBank (behind desk)\nLS Atrium\nBike School\n""Goto", "Close");
	return 1;
}
Any help?
Reply
#2

this is because the line is too long use strcat
Reply
#3

Alright doing it, thanks.

P.S.: Can I use strcat like this;
Код:
strcat(string, "Text1\nText2\nText3\n");

ShowPlayerDialog(playerid, DIALOG_TEST, DIALOG_STYLE_LIST, "TEST", string, "Test", "Close");
Hmm?
Reply
#4

Yeah
Reply
#5

You're also missing a comma at:
PHP код:
"...um\nBike School\n""Goto""Close"); 
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)