SA-MP Forums Archive
Error ! At Compiling ! - 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: Error ! At Compiling ! (/showthread.php?tid=504263)



Error ! At Compiling ! - Fachrul48 - 03.04.2014

hey guys , ijust wanted to tell you i have 7 error thats in line 19975 ( 1 errors) 19976 ( 2 errors ) 19977 (6 Errors )
this is the line at 19974 - 19977
Код:
CMD:rules(playerid, params[])
{
    ShowPlayerDialog(playerid, DIALOG_RULESCMD, DIALOG_STYLE_MSGBOX, "GenerationGamers Rules", "{FF0000}GenerationGamers Rules:\nYou may NOT begg for admin! doing so could result in a Ban!\nAdvertising will lead into a STRAIGHT ban!\nDo NOT ask for VIP! only way to get it is at {FF0000}www.GenerationGamersracers.tk\nSwearing/Insulting an Admin/Player will result in a ban/kick/mute!\nDont Spam the chat or you get kicked\n\nDisrespecting any of these rules will result in a ban!\n\nhave fun!",  "Accept", "Decline");
    }
	return 1;
}
Код:
C:\Users\Fachrul\Documents\High Speed Drivers\gamemodes\HighSpeedDrivers.pwn(19975) : error 075: input line too long (after substitutions)
C:\Users\Fachrul\Documents\High Speed Drivers\gamemodes\HighSpeedDrivers.pwn(19976) : error 037: invalid string (possibly non-terminated string)
C:\Users\Fachrul\Documents\High Speed Drivers\gamemodes\HighSpeedDrivers.pwn(19976) : error 017: undefined symbol "De"
C:\Users\Fachrul\Documents\High Speed Drivers\gamemodes\HighSpeedDrivers.pwn(19977) : warning 217: loose indentation
C:\Users\Fachrul\Documents\High Speed Drivers\gamemodes\HighSpeedDrivers.pwn(19977) : error 017: undefined symbol "cline"
C:\Users\Fachrul\Documents\High Speed Drivers\gamemodes\HighSpeedDrivers.pwn(19977) : warning 215: expression has no effect
C:\Users\Fachrul\Documents\High Speed Drivers\gamemodes\HighSpeedDrivers.pwn(19977) : error 001: expected token: ";", but found ")"
C:\Users\Fachrul\Documents\High Speed Drivers\gamemodes\HighSpeedDrivers.pwn(19977) : error 029: invalid expression, assumed zero
C:\Users\Fachrul\Documents\High Speed Drivers\gamemodes\HighSpeedDrivers.pwn(19977) : fatal error 107: too many error messages on one line

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


7 Errors.
how do i fix it thx


Re: Error ! At Compiling ! - LocMax - 03.04.2014

The content of the dialog is too long.
You need to reduce number of \n's and number of letters/messages, keep only the needed stuff.

pawn Код:
CMD:rules(playerid, params[])
{
    ShowPlayerDialog(playerid, DIALOG_RULESCMD, DIALOG_STYLE_MSGBOX, "GenerationGamers Rules", "Do not beg to become an admin.\nDo not advertise.\nDo not ask for VIP.\nDo not insult/provoke.\nDo not spam or flood.\nBreaking these rules will result in a ban.\n\nhave fun!", "Accept", "Decline");
    return 1;
}



Re: Error ! At Compiling ! - Fachrul48 - 03.04.2014

Thx it has i error again
Код:
C:\Users\Fachrul\Documents\High Speed Drivers\gamemodes\HighSpeedDrivers.pwn(19978) : error 010: invalid function or declaration
Код:
CMD:rules(playerid, params[])
{
        ShowPlayerDialog(playerid, DIALOG_RULESCMD, DIALOG_STYLE_MSGBOX, "GenerationGamers Rules", "{FF0000}GenerationGamers Rules:\nYou may NOT begg for admin! doing so could result in a Ban!\nAdvertising will lead into a STRAIGHT ban!\nhave fun!",  "Accept", "Decline");
    }
	return 1;
}



Re: Error ! At Compiling ! - AndySedeyn - 03.04.2014

Quote:
Originally Posted by Fachrul48
Посмотреть сообщение
-
This should do:

pawn Код:
CMD:rules(playerid, params[])
{
        ShowPlayerDialog(playerid, DIALOG_RULESCMD, DIALOG_STYLE_MSGBOX, "GenerationGamers Rules", "{FF0000}GenerationGamers Rules:\nYou may NOT begg for admin! doing so could result in a Ban!\nAdvertising will lead into a STRAIGHT ban!\nhave fun!",  "Accept", "Decline");
        return 1;
}
I'm giving you the same as what Loco gave you, use it.


Re: Error ! At Compiling ! - Fachrul48 - 03.04.2014

^ thx it works , case closed


Re: Error ! At Compiling ! - iZN - 03.04.2014

You can always use strcat! You don't really need to short your messages.

https://sampwiki.blast.hk/wiki/Strcat