What error in dialog
#1

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 075input line too long (after substitutions)
C:\Users\ImAndrew\Desktop\GM Base\gamemodes\TDM.pwn(1135) : error 017undefined symbol "FFFFFF"
C:\Users\ImAndrew\Desktop\GM Base\gamemodes\TDM.pwn(1135) : warning 217loose indentation
C
:\Users\ImAndrew\Desktop\GM Base\gamemodes\TDM.pwn(1135) : error 029invalid expressionassumed zero
C
:\Users\ImAndrew\Desktop\GM Base\gamemodes\TDM.pwn(1135) : error 029invalid expressionassumed zero
C
:\Users\ImAndrew\Desktop\GM Base\gamemodes\TDM.pwn(1135) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
5 Errors

PHP код:
CMD:reglas(playerid)
{
     
ShowPlayerDialog(playeridDIALOG_HELPDIALOG_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;

Reply
#2

\n\n\
Reply
#3

Quote:
Originally Posted by DarkBr
Посмотреть сообщение
\n\n\
What?
Reply
#4

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
Reply
#5

I do not think it's necessary to use Strcat
Reply
#6

Quote:
Originally Posted by Spawe
Посмотреть сообщение
I do not think it's necessary to use Strcat
It is necessary or live with the error
Reply
#7

Quote:
Originally Posted by DarkBr
Посмотреть сообщение
It is necessary or live with the error
ok thank you +REP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)