1 error
#1

Код:
C:\Program Files\Rockstar Games\GTA San Andreas\my server\gamemodes\SFTDMVFgangzone.pwn(1495) : error 054: unmatched closing brace ("}")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Код:
public Tempo()
{
      		new rand;
   			rand = random(1);
				SetWeather(rand);
     }
   }
  }
Any help would be nice

Many thanks alex

Reply
#2

change this :
Код:
public Tempo()
{
      		new rand;
   			rand = random(1);
				SetWeather(rand);
     }
   }
  }
to this
Код:
public Tempo()
{
      		new rand;
   		rand = random(1);
		SetWeather(rand);
  }
Reply
#3

Remove last 2 } so it must be this:

Код:
public Tempo()
{
   new rand;
   rand = random(1);
   SetWeather(rand);
}
Reply
#4

public Tempo()
{
new rand;
rand = random(1);
SetWeather(rand);
}
}
}

look at that there is : 1 { and 3 } that's why its unmatched ,, here is the right code :

Код:
public Tempo()
{
      		new rand;
   			rand = random(1);
			SetWeather(rand);
}
________
HALF-BAKED
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)