19.10.2011, 14:22
hey guys,
can anyone pls help me with my dialog i made a nice dialog with the scripting machine and now i get this errors:
F:\program files\my own drifting gamemode\gamemodes\NYD_Drifting.pwn(105 : error 075: input line too long (after substitutions)
F:\program files\my own drifting gamemode\gamemodes\NYD_Drifting.pwn(1059) : error 037: invalid string (possibly non-terminated string)
F:\program files\my own drifting gamemode\gamemodes\NYD_Drifting.pwn(1059) : error 017: undefined symbol "this"
F:\program files\my own drifting gamemode\gamemodes\NYD_Drifting.pwn(1059) : error 017: undefined symbol "will"
F:\program files\my own drifting gamemode\gamemodes\NYD_Drifting.pwn(1059) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
i made this in the scripting machine:
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Teleports", "/drift1 this will teleport you immediately to Drift1\n/drift2 this will teleport you immediately to Drift2\n/drift3 this will teleport you immediately to Drift3\n/Driftking this teleport will bring you immediately to the DriftKing\n/stunt1 this teleport will bring you immediately to stunt1\n/stunt2 this teleport will bring you immediately to stunt2\n/stunt3 this teleport will bring you immediately to stunt3\n/AAstunt this teleport will bring you immediately to the Abandoned Airport Stunts\n/Monster this teleport will bring you immediately to the Monster Race\n/Kart this teleport will bring you immediately to the Kart Race\n/CarKiller this teleport will bring you immediately to the place where you can beast your opponent by smashing your car to his car and the one who has the car most damaged will lose XD\n/twintower this teleport will bring you immediately to the beginning of the bridge to the TwinTowerIsland\n/Derby this teleport will bring you immediately to the demolishion derby\n/Dirtcourt this teleport will bring you immediately to the dirtcourt where you can try to beat your opponent in a dirtrace\n/8track this teleport will bring you immediately to the place where you can race in a hotring racer to beat your opponent\n/dirttrack this teleport will bring you immediately to the place where you can dirt with your selected car and beat your opponent\n/drag this teleport will bring you immediately to the place where you can race with your selected car and beat your opponent\n/vortexstunt this teleport will bring you immediately to the place where you can race with your vortex\n/loco now you will go to the loco low co tuning garage in willowfield\n/arch now you will go to the wheels arch angels in west san fierro\n/lvtune now you will go to the normal tuning garage in las venturas\n/lstune now you will go to the normal tuning garage in los santos\n/sftune now you will go to the normal tuning garage in san fierro\n/lvair now you will go to las venturas airport\n/lsair now you will go to los santos airport\n/sfair now you will go to san fierro airport\n", "Ok", "Cancel");
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 2){
if(response){
switch(listitem)){
case 0:
{
//Selected Item: "/drift1 this will teleport you immediately to Drift1"
}
case 1:
{
//Selected Item: "/drift2 this will teleport you immediately to Drift2"
}
case 2:
{
//Selected Item: "/drift3 this will teleport you immediately to Drift3"
}
case 3:
{
//Selected Item: "/Driftking this teleport will bring you immediately to the DriftKing"
}
case 4:
{
//Selected Item: "/stunt1 this teleport will bring you immediately to stunt1"
}
case 5:
{
//Selected Item: "/stunt2 this teleport will bring you immediately to stunt2"
}
case 6:
{
//Selected Item: "/stunt3 this teleport will bring you immediately to stunt3"
}
case 7:
{
//Selected Item: "/AAstunt this teleport will bring you immediately to the Abandoned Airport Stunts"
}
case 8:
{
//Selected Item: "/Monster this teleport will bring you immediately to the Monster Race"
}
case 9:
{
//Selected Item: "/Kart this teleport will bring you immediately to the Kart Race"
}
case 10:
{
//Selected Item: "/CarKiller this teleport will bring you immediately to the place where you can beast your opponent by smashing your car to his car and the one who has the car most damaged will lose XD"
}
case 11:
{
//Selected Item: "/twintower this teleport will bring you immediately to the beginning of the bridge to the TwinTowerIsland"
}
case 12:
{
//Selected Item: "/Derby this teleport will bring you immediately to the demolishion derby"
}
case 13:
{
//Selected Item: "/Dirtcourt this teleport will bring you immediately to the dirtcourt where you can try to beat your opponent in a dirtrace"
}
case 14:
{
//Selected Item: "/8track this teleport will bring you immediately to the place where you can race in a hotring racer to beat your opponent"
}
case 15:
{
//Selected Item: "/dirttrack this teleport will bring you immediately to the place where you can dirt with your selected car and beat your opponent"
}
case 16:
{
//Selected Item: "/drag this teleport will bring you immediately to the place where you can race with your selected car and beat your opponent"
}
case 17:
{
//Selected Item: "/vortexstunt this teleport will bring you immediately to the place where you can race with your vortex"
}
case 18:
{
//Selected Item: "/loco now you will go to the loco low co tuning garage in willowfield"
}
case 19:
{
//Selected Item: "/arch now you will go to the wheels arch angels in west san fierro"
}
case 20:
{
//Selected Item: "/lvtune now you will go to the normal tuning garage in las venturas"
}
case 21:
{
//Selected Item: "/lstune now you will go to the normal tuning garage in los santos"
}
case 22:
{
//Selected Item: "/sftune now you will go to the normal tuning garage in san fierro"
}
case 23:
{
//Selected Item: "/lvair now you will go to las venturas airport"
}
case 24:
{
//Selected Item: "/lsair now you will go to los santos airport"
}
case 25:
{
//Selected Item: "/sfair now you will go to san fierro airport"
}
case 26:
{
//Selected Item: ""
}
}
else{
//The player has pressed "Ok".
switch(listitem{
case 0:
{
//Selected Item: "/drift1 this will teleport you immediately to Drift1"
}
case 1:
{
//Selected Item: "/drift2 this will teleport you immediately to Drift2"
}
case 2:
{
//Selected Item: "/drift3 this will teleport you immediately to Drift3"
}
case 3:
{
//Selected Item: "/Driftking this teleport will bring you immediately to the DriftKing"
}
case 4:
{
//Selected Item: "/stunt1 this teleport will bring you immediately to stunt1"
}
case 5:
{
//Selected Item: "/stunt2 this teleport will bring you immediately to stunt2"
}
case 6:
{
//Selected Item: "/stunt3 this teleport will bring you immediately to stunt3"
}
case 7:
{
//Selected Item: "/AAstunt this teleport will bring you immediately to the Abandoned Airport Stunts"
}
case 8:
{
//Selected Item: "/Monster this teleport will bring you immediately to the Monster Race"
}
case 9:
{
//Selected Item: "/Kart this teleport will bring you immediately to the Kart Race"
}
case 10:
{
//Selected Item: "/CarKiller this teleport will bring you immediately to the place where you can beast your opponent by smashing your car to his car and the one who has the car most damaged will lose XD"
}
case 11:
{
//Selected Item: "/twintower this teleport will bring you immediately to the beginning of the bridge to the TwinTowerIsland"
}
case 12:
{
//Selected Item: "/Derby this teleport will bring you immediately to the demolishion derby"
}
case 13:
{
//Selected Item: "/Dirtcourt this teleport will bring you immediately to the dirtcourt where you can try to beat your opponent in a dirtrace"
}
case 14:
{
//Selected Item: "/8track this teleport will bring you immediately to the place where you can race in a hotring racer to beat your opponent"
}
case 15:
{
//Selected Item: "/dirttrack this teleport will bring you immediately to the place where you can dirt with your selected car and beat your opponent"
}
case 16:
{
//Selected Item: "/drag this teleport will bring you immediately to the place where you can race with your selected car and beat your opponent"
}
case 17:
{
//Selected Item: "/vortexstunt this teleport will bring you immediately to the place where you can race with your vortex"
}
case 18:
{
//Selected Item: "/loco now you will go to the loco low co tuning garage in willowfield"
}
case 19:
{
//Selected Item: "/arch now you will go to the wheels arch angels in west san fierro"
}
case 20:
{
//Selected Item: "/lvtune now you will go to the normal tuning garage in las venturas"
}
case 21:
{
//Selected Item: "/lstune now you will go to the normal tuning garage in los santos"
}
case 22:
{
//Selected Item: "/sftune now you will go to the normal tuning garage in san fierro"
}
case 23:
{
//Selected Item: "/lvair now you will go to las venturas airport"
}
case 24:
{
//Selected Item: "/lsair now you will go to los santos airport"
}
case 25:
{
//Selected Item: "/sfair now you will go to san fierro airport"
}
case 26:
{
//Selected Item: ""
}
}
}
return 0;
}
can anyone help me pls? i want to fix this because its for my own gamemode im making and i want that when you type /teles you get a dialog with the teles.
pls help
niels
can anyone pls help me with my dialog i made a nice dialog with the scripting machine and now i get this errors:
F:\program files\my own drifting gamemode\gamemodes\NYD_Drifting.pwn(105 : error 075: input line too long (after substitutions)
F:\program files\my own drifting gamemode\gamemodes\NYD_Drifting.pwn(1059) : error 037: invalid string (possibly non-terminated string)
F:\program files\my own drifting gamemode\gamemodes\NYD_Drifting.pwn(1059) : error 017: undefined symbol "this"
F:\program files\my own drifting gamemode\gamemodes\NYD_Drifting.pwn(1059) : error 017: undefined symbol "will"
F:\program files\my own drifting gamemode\gamemodes\NYD_Drifting.pwn(1059) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
i made this in the scripting machine:
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Teleports", "/drift1 this will teleport you immediately to Drift1\n/drift2 this will teleport you immediately to Drift2\n/drift3 this will teleport you immediately to Drift3\n/Driftking this teleport will bring you immediately to the DriftKing\n/stunt1 this teleport will bring you immediately to stunt1\n/stunt2 this teleport will bring you immediately to stunt2\n/stunt3 this teleport will bring you immediately to stunt3\n/AAstunt this teleport will bring you immediately to the Abandoned Airport Stunts\n/Monster this teleport will bring you immediately to the Monster Race\n/Kart this teleport will bring you immediately to the Kart Race\n/CarKiller this teleport will bring you immediately to the place where you can beast your opponent by smashing your car to his car and the one who has the car most damaged will lose XD\n/twintower this teleport will bring you immediately to the beginning of the bridge to the TwinTowerIsland\n/Derby this teleport will bring you immediately to the demolishion derby\n/Dirtcourt this teleport will bring you immediately to the dirtcourt where you can try to beat your opponent in a dirtrace\n/8track this teleport will bring you immediately to the place where you can race in a hotring racer to beat your opponent\n/dirttrack this teleport will bring you immediately to the place where you can dirt with your selected car and beat your opponent\n/drag this teleport will bring you immediately to the place where you can race with your selected car and beat your opponent\n/vortexstunt this teleport will bring you immediately to the place where you can race with your vortex\n/loco now you will go to the loco low co tuning garage in willowfield\n/arch now you will go to the wheels arch angels in west san fierro\n/lvtune now you will go to the normal tuning garage in las venturas\n/lstune now you will go to the normal tuning garage in los santos\n/sftune now you will go to the normal tuning garage in san fierro\n/lvair now you will go to las venturas airport\n/lsair now you will go to los santos airport\n/sfair now you will go to san fierro airport\n", "Ok", "Cancel");
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 2){
if(response){
switch(listitem)){
case 0:
{
//Selected Item: "/drift1 this will teleport you immediately to Drift1"
}
case 1:
{
//Selected Item: "/drift2 this will teleport you immediately to Drift2"
}
case 2:
{
//Selected Item: "/drift3 this will teleport you immediately to Drift3"
}
case 3:
{
//Selected Item: "/Driftking this teleport will bring you immediately to the DriftKing"
}
case 4:
{
//Selected Item: "/stunt1 this teleport will bring you immediately to stunt1"
}
case 5:
{
//Selected Item: "/stunt2 this teleport will bring you immediately to stunt2"
}
case 6:
{
//Selected Item: "/stunt3 this teleport will bring you immediately to stunt3"
}
case 7:
{
//Selected Item: "/AAstunt this teleport will bring you immediately to the Abandoned Airport Stunts"
}
case 8:
{
//Selected Item: "/Monster this teleport will bring you immediately to the Monster Race"
}
case 9:
{
//Selected Item: "/Kart this teleport will bring you immediately to the Kart Race"
}
case 10:
{
//Selected Item: "/CarKiller this teleport will bring you immediately to the place where you can beast your opponent by smashing your car to his car and the one who has the car most damaged will lose XD"
}
case 11:
{
//Selected Item: "/twintower this teleport will bring you immediately to the beginning of the bridge to the TwinTowerIsland"
}
case 12:
{
//Selected Item: "/Derby this teleport will bring you immediately to the demolishion derby"
}
case 13:
{
//Selected Item: "/Dirtcourt this teleport will bring you immediately to the dirtcourt where you can try to beat your opponent in a dirtrace"
}
case 14:
{
//Selected Item: "/8track this teleport will bring you immediately to the place where you can race in a hotring racer to beat your opponent"
}
case 15:
{
//Selected Item: "/dirttrack this teleport will bring you immediately to the place where you can dirt with your selected car and beat your opponent"
}
case 16:
{
//Selected Item: "/drag this teleport will bring you immediately to the place where you can race with your selected car and beat your opponent"
}
case 17:
{
//Selected Item: "/vortexstunt this teleport will bring you immediately to the place where you can race with your vortex"
}
case 18:
{
//Selected Item: "/loco now you will go to the loco low co tuning garage in willowfield"
}
case 19:
{
//Selected Item: "/arch now you will go to the wheels arch angels in west san fierro"
}
case 20:
{
//Selected Item: "/lvtune now you will go to the normal tuning garage in las venturas"
}
case 21:
{
//Selected Item: "/lstune now you will go to the normal tuning garage in los santos"
}
case 22:
{
//Selected Item: "/sftune now you will go to the normal tuning garage in san fierro"
}
case 23:
{
//Selected Item: "/lvair now you will go to las venturas airport"
}
case 24:
{
//Selected Item: "/lsair now you will go to los santos airport"
}
case 25:
{
//Selected Item: "/sfair now you will go to san fierro airport"
}
case 26:
{
//Selected Item: ""
}
}
else{
//The player has pressed "Ok".
switch(listitem{
case 0:
{
//Selected Item: "/drift1 this will teleport you immediately to Drift1"
}
case 1:
{
//Selected Item: "/drift2 this will teleport you immediately to Drift2"
}
case 2:
{
//Selected Item: "/drift3 this will teleport you immediately to Drift3"
}
case 3:
{
//Selected Item: "/Driftking this teleport will bring you immediately to the DriftKing"
}
case 4:
{
//Selected Item: "/stunt1 this teleport will bring you immediately to stunt1"
}
case 5:
{
//Selected Item: "/stunt2 this teleport will bring you immediately to stunt2"
}
case 6:
{
//Selected Item: "/stunt3 this teleport will bring you immediately to stunt3"
}
case 7:
{
//Selected Item: "/AAstunt this teleport will bring you immediately to the Abandoned Airport Stunts"
}
case 8:
{
//Selected Item: "/Monster this teleport will bring you immediately to the Monster Race"
}
case 9:
{
//Selected Item: "/Kart this teleport will bring you immediately to the Kart Race"
}
case 10:
{
//Selected Item: "/CarKiller this teleport will bring you immediately to the place where you can beast your opponent by smashing your car to his car and the one who has the car most damaged will lose XD"
}
case 11:
{
//Selected Item: "/twintower this teleport will bring you immediately to the beginning of the bridge to the TwinTowerIsland"
}
case 12:
{
//Selected Item: "/Derby this teleport will bring you immediately to the demolishion derby"
}
case 13:
{
//Selected Item: "/Dirtcourt this teleport will bring you immediately to the dirtcourt where you can try to beat your opponent in a dirtrace"
}
case 14:
{
//Selected Item: "/8track this teleport will bring you immediately to the place where you can race in a hotring racer to beat your opponent"
}
case 15:
{
//Selected Item: "/dirttrack this teleport will bring you immediately to the place where you can dirt with your selected car and beat your opponent"
}
case 16:
{
//Selected Item: "/drag this teleport will bring you immediately to the place where you can race with your selected car and beat your opponent"
}
case 17:
{
//Selected Item: "/vortexstunt this teleport will bring you immediately to the place where you can race with your vortex"
}
case 18:
{
//Selected Item: "/loco now you will go to the loco low co tuning garage in willowfield"
}
case 19:
{
//Selected Item: "/arch now you will go to the wheels arch angels in west san fierro"
}
case 20:
{
//Selected Item: "/lvtune now you will go to the normal tuning garage in las venturas"
}
case 21:
{
//Selected Item: "/lstune now you will go to the normal tuning garage in los santos"
}
case 22:
{
//Selected Item: "/sftune now you will go to the normal tuning garage in san fierro"
}
case 23:
{
//Selected Item: "/lvair now you will go to las venturas airport"
}
case 24:
{
//Selected Item: "/lsair now you will go to los santos airport"
}
case 25:
{
//Selected Item: "/sfair now you will go to san fierro airport"
}
case 26:
{
//Selected Item: ""
}
}
}
return 0;
}
can anyone help me pls? i want to fix this because its for my own gamemode im making and i want that when you type /teles you get a dialog with the teles.
pls help
niels