why? gm
#1

How To Fix These All Errors/Warning ?

+REP


Код:
CMD:teles(playerid, params[])
{
    ShowPlayerDialog(playerid, 4198, DIALOG_STYLE_MSGBOX, "{FF0000}UFS {FFFFFF}- Important Teles", "{FF0000}Stunt:{FFFFFF}  /Ls  /Lv  /Sf  /Beach  /Kartrace  /Funstunt  /Superpipe  /Mc  /Stuntpark  /Lsrace  \n/Qs  /As  /Loop  /Superrace  /Ws  /Pp  /Sr  /Imprace  /Monster  /Jparty \n\n{FF0000}Deathmatches:{FFFFFF}  /Wwdm\n\n{FF0000}Airports:{FFFFFF}  /Aa  /Lva  /Lsa  /Sfa \n\n{FF0000}Parkours:{FFFFFF} /Nrg1  /Parkour \n\n{FF0000}Tuning:{FFFFFF} /Neon  /Loco  /Arch  /Sftune  /Lvtune  /Lstune ", "Ok", "Cancel");
	return 1;
}
Код:
C:\Users\Khan\Ufs\gamemodes\Freeroam.pwn(4414) : error 075: input line too long (after substitutions)
C:\Users\Khan\Ufs\gamemodes\Freeroam.pwn(4415) : error 037: invalid string (possibly non-terminated string)
C:\Users\Khan\Ufs\gamemodes\Freeroam.pwn(4415) : error 017: undefined symbol "Cance"
C:\Users\Khan\Ufs\gamemodes\Freeroam.pwn(4416) : error 017: undefined symbol "l"
C:\Users\Khan\Ufs\gamemodes\Freeroam.pwn(4416) : warning 215: expression has no effect
C:\Users\Khan\Ufs\gamemodes\Freeroam.pwn(4416) : error 001: expected token: ";", but found ")"
C:\Users\Khan\Ufs\gamemodes\Freeroam.pwn(4416) : error 029: invalid expression, assumed zero
C:\Users\Khan\Ufs\gamemodes\Freeroam.pwn(4416) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


7 Errors.
Reply
#2

https://www.******.com/search?q=erro...m=122&ie=UTF-8
Reply
#3

Line is getting too long.

Use strcat to concatenate your strings.
Reply
#4

C:\Users\Khan\Ufs\gamemodes\Freeroam.pwn(4414) : error 075: input line too long (after substitutions)

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Errors.
Reply
#5

I believe you can also split it into multiple lines (don't quote me on this as I haven't scripted in a while).

pawn Код:
"some really long stringsome really long stringsome really long stringsome really long stringsome really long stringsome really long stringsome really long stringsome really long stringsome really long stringsome really long stringsome really long stringsome really long stringsome really long stringsome really long stringsome really long string" \
"some really long stringsome really long stringsome really long stringsome really long stringsome really long stringsome really long string"
Reply
#6

It means your line is too long. Did you actually pay attention to what Konstantinos and iZN said?
Reply
#7

Yup.
Reply
#8

Bump....
Reply
#9

Quote:
Originally Posted by UfsDev
Посмотреть сообщение
Bump....
no need to bump.

anyways as you didn't really listen to what others said

this line of code is to long
thats why you getting errors

anyways try this one
Код:
ShowPlayerDialog(playerid,4198,DIALOG_STYLE_MSGBOX,"{FF0000}UFS {FFFFFF}- Important Teles", "{FF0000}Stunt:{FFFFFF} /Ls /Lv /Sf /Beach /Kartrace /Funstunt /Superpipe /Mc /Stuntpark /Lsrace \n/Qs /As  /Loop /Superrace /Ws /Pp /Sr /Imprace /Monster /Jparty\n\n{FF0000}Deathmatches:{FFFFFF}  /Wwdm\n\n{FF0000}Airports:{FFFFFF}/Aa /Lva /Lsa /Sfa\n\n{FF0000}Parkours:{FFFFFF}/Nrg1 /Parkour \n\n{FF0000}Tuning:{FFFFFF} /Neon /Loco /Arch /Sftune /Lvtune /Lstune", "Ok","Cancel");
or just use strcat witch is easy.
Reply
#10

+REP Yves.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)