Dialog problam - 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: Dialog problam (
/showthread.php?tid=429539)
Dialog problam -
MichaelWharton101 - 10.04.2013
So what is wrong with this?
Код:
case 54: // Server Logs
{
ShowPlayerDialog(playerid, 54, DIALOG_STYLE_LIST, "Server Logs", "Makeadmin Logs\nMakehelper Logs\nMaketester Logs\nMakevip Logs\nHelperchat Logs\nAdminchat Logs\nBan Logs\nUnban Logs\nWhitelist Logs\nWarn Logs\nPrison Logs\nGarage Logs\nHouse Logs\nBusiness Logs\nChat Logs\nGODsms Logs\nKill Logs\Object Logs\nObjects Logs\nPay Logs\nTaxvault Logs\nHA Logs\nHitmansms Logs\nContract Logs\nNewbie Logs\nNA Logs\nNews Logs\nNewsvault Logs\nLSPD Logs\nGOV Logs\nLSFMD Logs\nNG Logs\nDepartments Logs\nSms Logs\nHreports Logs\nReports Logs\nWhisper Logs\nBetachat Logs\nGates Logs\nEditdrugs Logs\nChangepass Logs\nFine Logs\nPm Logs\nSetstat Logs\nDeleteaccount Logs\nSettax Logs\nAdvertisements\nPrison Logs\nFamilies Logs\nFactions Logs\nMapicons Logs\nDoors Logs\nHoseject Logs\nSethparmor Logs\nHeal Logs\nGivemoney Logs\nSetmoney Logs\nTutorial Logs\nKick Logs\nCookies Logs\nServeradvertisement Logs\nSafeadmin Logs", "Choose", "Cancel");
}
Errors
Код:
G:\A-RP\gamemodes\A-RP.pwn(30316) : error 075: input line too long (after substitutions)
G:\A-RP\gamemodes\A-RP.pwn(30317) : error 027: invalid character constant
G:\A-RP\gamemodes\A-RP.pwn(30317) : error 017: undefined symbol "Makeadmin"
G:\A-RP\gamemodes\A-RP.pwn(30317) : error 017: undefined symbol "Logs"
G:\A-RP\gamemodes\A-RP.pwn(30317) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
Re: Dialog problam -
MichaelWharton101 - 10.04.2013
Okay fixed most of it, Now I got this
Код:
ShowPlayerDialog(playerid, 54, DIALOG_STYLE_LIST, "Server Logs - Page 1", "Makeadmin Logs\nMakehelper Logs\nMaketester Logs\nMakevip Logs\nHelperchat Logs\nAdminchat Logs\nBan Logs\nUnban Logs\nWhitelist Logs\nWarn Logs\nPrison Logs\nGarage Logs\nHouse Logs\nBusiness Logs\nChat Logs\nGODsms Logs\nKill Logs\Object Logs\nObjects Logs\nPay Logs\nTaxvault Logs\nHA Logs\nHitmansms Logs\nContract Logs\nNewbie Logs\nNA Logs\nGo to page 2\nGo to Page 3", "Choose", "Cancel");
error:
Код:
G:\A-RP\gamemodes\A-RP.pwn(30360) : error 027: invalid character constant
G:\A-RP\gamemodes\A-RP.pwn(30360) : error 027: invalid character constant
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Help ASAP plz
Re: Dialog problam -
MichaelWharton101 - 10.04.2013
Okay fixed most of it, Now I got this
Код:
ShowPlayerDialog(playerid, 54, DIALOG_STYLE_LIST, "Server Logs - Page 1", "Makeadmin Logs\nMakehelper Logs\nMaketester Logs\nMakevip Logs\nHelperchat Logs\nAdminchat Logs\nBan Logs\nUnban Logs\nWhitelist Logs\nWarn Logs\nPrison Logs\nGarage Logs\nHouse Logs\nBusiness Logs\nChat Logs\nGODsms Logs\nKill Logs\Object Logs\nObjects Logs\nPay Logs\nTaxvault Logs\nHA Logs\nHitmansms Logs\nContract Logs\nNewbie Logs\nNA Logs\nGo to page 2\nGo to Page 3", "Choose", "Cancel");
error:
Код:
G:\A-RP\gamemodes\A-RP.pwn(30360) : error 027: invalid character constant
G:\A-RP\gamemodes\A-RP.pwn(30360) : error 027: invalid character constant
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Help ASAP plz
Re: Dialog problam -
JaKe Elite - 10.04.2013
there are already Object Logs. And you've 2 of them. I remove the first Object Log the one without \n.
this parts cause the errors"
"\Object Logs\nObject Logs"
here you go
pawn Код:
ShowPlayerDialog(playerid, 54, DIALOG_STYLE_LIST, "Server Logs - Page 1", "Makeadmin Logs\nMakehelper Logs\nMaketester Logs\nMakevip Logs\nHelperchat Logs\nAdminchat Logs\nBan Logs\nUnban Logs\nWhitelist Logs\nWarn Logs\nPrison Logs\nGarage Logs\nHouse Logs\nBusiness Logs\nChat Logs\nGODsms Logs\nKill Logs\nObjects Logs\nPay Logs\nTaxvault Logs\nHA Logs\nHitmansms Logs\nContract Logs\nNewbie Logs\nNA Logs\nGo to page 2\nGo to Page 3", "Choose", "Cancel");
Re: Dialog problam -
MichaelWharton101 - 10.04.2013
Nah that was wrong, I fixed it myself, It was 1. Line to long so it fucked everything. 2. There should be TWO object ones due to it checking two different things. the first one was 'nObject Logs' no S at end. other one was 'nObjects' and even if there should not be two of them it would still not cause the errors. thanks for trying to help though.