What error in dialog - 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: What error in dialog (
/showthread.php?tid=661067)
What error in dialog -
Spawe - 20.11.2018
What is the problem, I'm going to die trying to find it
PHP код:
//Error:
C:\Users\ImAndrew\Desktop\GM Base\gamemodes\TDM.pwn(1128 -- 1134) : error 075: input line too long (after substitutions)
C:\Users\ImAndrew\Desktop\GM Base\gamemodes\TDM.pwn(1135) : error 017: undefined symbol "FFFFFF"
C:\Users\ImAndrew\Desktop\GM Base\gamemodes\TDM.pwn(1135) : warning 217: loose indentation
C:\Users\ImAndrew\Desktop\GM Base\gamemodes\TDM.pwn(1135) : error 029: invalid expression, assumed zero
C:\Users\ImAndrew\Desktop\GM Base\gamemodes\TDM.pwn(1135) : error 029: invalid expression, assumed zero
C:\Users\ImAndrew\Desktop\GM Base\gamemodes\TDM.pwn(1135) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
PHP код:
CMD:reglas(playerid)
{
ShowPlayerDialog(playerid, DIALOG_HELP, DIALOG_STYLE_MSGBOX, "{00AAFF}\t << Reglas palomino creek >>",
"{FFFFFF}.=\t{00AAFF} ********.com/PalominoCreekTDM {FFFFFF}=. \n\
{FFFFFF}.=\t{00AAFF} Web: pc-tdm.ml/foro/ {FFFFFF}=. \n\n\
{FFFFFF}1. No pedir {00AAFF}Admin o Vip{FFFFFF}, puedes ser sancionado\n\
{FFFFFF}2. No se permite el {00AAFF}DriveBy(CarKill){FFFFFF}, matar en auto\n\
{FFFFFF}3. Respeta como quieres que te respeten {00AAFF}(No faltar al respeto) \n\
{FFFFFF}4. No uses ningъn tipo de {00AAFF}Cheats, Mod Cleo {FFFFFF}para tu ventaja {00AAFF}- sera BAN\n\
{FFFFFF}5. Si ves un cheat, No lo digas por el chat usa >> {00AAFF}/report [playerid] [razуn]\n\ //line 1135
{FFFFFF}6. No hagas {00AAFF}Publicidad/Spam/Flood {FFFFFF}esto ocasionara un BAN directo\n\
{FFFFFF}7. No interfieras en {00AAFF}Eventos/Duelos/Torneos, esto causa un {00AAFF}Warn o Kick [playerid]\n\
{FFFFFF}9. No {00AAFF}Bug's {FFFFFF}de armas / No sacar provecho o ventajas a los {00AAFF}Bug's {FFFFFF}del servidor [playerid] [razуn]\n\
{FFFFFF}10. No matar en {00AAFF}Jetpack {FFFFFF}y no {00AAFF}Bug's {FFFFFF}de pasajero, sera sancionado\n\
{FFFFFF}11. Para mбs informaciуn pregunte a un Admin online {00AAFF}[Evite sanciуn]", "Aceptar", "");
return 1;
}
Re: What error in dialog -
DarkBr - 20.11.2018
\n\n
\
Re: What error in dialog -
Spawe - 20.11.2018
Quote:
Originally Posted by DarkBr
\n\n\
|
What?
Re: What error in dialog -
DarkBr - 21.11.2018
https://sampwiki.blast.hk/wiki/Strcat
PHP код:
new string[12];
strcat(string, "12345");
strcat(string, "678910");
print(string);
// output "12345678910"
You should do the same in the dialog
Re: What error in dialog -
Spawe - 21.11.2018
I do not think it's necessary to use Strcat
Re: What error in dialog -
DarkBr - 21.11.2018
Quote:
Originally Posted by Spawe
I do not think it's necessary to use Strcat
|
It is necessary or live with the error
Re: What error in dialog -
Spawe - 21.11.2018
Quote:
Originally Posted by DarkBr
It is necessary or live with the error
|
ok thank you +REP