Error when I compile
#1

I have a problem when I compile, errors:

Код:
C:\Documents and Settings\Claudiu\Desktop\Server Sa-Mp Mortalii RPG by PuNaNi\[2.0 X]\gamemodes\Mortalii_RolePlaY.pwn(23101) : error 037: invalid string (possibly non-terminated string)
C:\Documents and Settings\Claudiu\Desktop\Server Sa-Mp Mortalii RPG by PuNaNi\[2.0 X]\gamemodes\Mortalii_RolePlaY.pwn(23101) : error 017: undefined symbol "Forum"
C:\Documents and Settings\Claudiu\Desktop\Server Sa-Mp Mortalii RPG by PuNaNi\[2.0 X]\gamemodes\Mortalii_RolePlaY.pwn(23101) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Claudiu\Desktop\Server Sa-Mp Mortalii RPG by PuNaNi\[2.0 X]\gamemodes\Mortalii_RolePlaY.pwn(23101) : fatal error 107: too many error messages on one line

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


4 Errors.

How can I solve this problem?




Thanks in advance
Reply
#2

You don't have "Forum" defined.
Reply
#3

declare your variable properly
Reply
#4

And how I define? I'm pretty noob in script)
Reply
#5

We really need to see the script that lies around line 23101 to be able to help.
Reply
#6

Код:
//----------------------------------[websitename]-------------------------------------------------------------------------------
	if(strcmp(cmd, "/server", true) == 0)
	{
	  if(IsPlayerConnected(playerid))
	  {
			SendClientMessage(playerid, COLOR_RED, "|__________________||____________________________|");
			SendClientMessage(playerid, COLOR_LIGHTBLUE, " Forum : http://mortalii.tk/);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, "IP :78.97.32.244:7777");
			SendClientMessage(playerid, COLOR_RED, "|__________________||_____________________________|");
    }
		return 1;
	}
Reply
#7

Quote:
Originally Posted by monster010
Код:
//----------------------------------[websitename]-------------------------------------------------------------------------------
	if(strcmp(cmd, "/server", true) == 0)
	{
	  if(IsPlayerConnected(playerid))
	  {
			SendClientMessage(playerid, COLOR_RED, "|__________________||____________________________|");
			SendClientMessage(playerid, COLOR_LIGHTBLUE, " Forum : http://mortalii.tk/);
			SendClientMessage(playerid, COLOR_LIGHTBLUE, "IP :78.97.32.244:7777");
			SendClientMessage(playerid, COLOR_RED, "|__________________||_____________________________|");
    }
		return 1;
	}
You just missed a " sign:

SendClientMessage(playerid, COLOR_LIGHTBLUE, " Forum : http://mortalii.tk/");
Reply
#8

Tanks
Reply


Forum Jump:


Users browsing this thread: