help with (GiveTeamsScore)
#1

hi guys how can i fix that

Код:
stock OnPlayerEnterStreamedCheckpoint(playerid, CPiD)
{
  if(CPiD == CPS1)
	{
	    GameTextForPlayer(playerid, "Stay her to capture hospital!", 3000, 3);
		if(gTeam[playerid]==TEAM_Latino)
		{
		GangZoneShowForAll(Hospital,0x00F3FFAF);
	    SetPlayerScore(playerid,GetPlayerScore(playerid)+5 );
        GivePlayerMoney(playerid,6000);
        SendClientMessage(playerid,0xFFFFFFFF,"You've capture the zone and receive 500 $ and 5 score");
        GiveTeamScore(gTeam[playerid]=TEAM_Latino, 1);
        SendTeamMessage(COLOR_0xFFFFFFFF, "You received 1 Score For a Capture!"
		}
		if(gTeam[playerid]==TEAM_USA)
		{
		GangZoneShowForAll(Hospital,0x1400C3FF);
		}
  }
  return 1;
}

Код:
D:\OFSERV~1\MYSERV~1\GAMEMO~1\sor9a.pwn(73) : warning 217: loose indentation
D:\OFSERV~1\MYSERV~1\GAMEMO~1\sor9a.pwn(74) : warning 217: loose indentation
D:\OFSERV~1\MYSERV~1\GAMEMO~1\sor9a.pwn(154) : warning 217: loose indentation
D:\OFSERV~1\MYSERV~1\GAMEMO~1\sor9a.pwn(290) : error 017: undefined symbol "GiveTeamScore"
D:\OFSERV~1\MYSERV~1\GAMEMO~1\sor9a.pwn(291) : error 017: undefined symbol "SendTeamMessage"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
help with (GiveTeamsScore) - by BlacKxStory - 02.02.2012, 23:26
Re: help with (GiveTeamsScore) - by Ballu Miaa - 02.02.2012, 23:32
Re: help with (GiveTeamsScore) - by Snipa - 02.02.2012, 23:43
Re : help with (GiveTeamsScore) - by BlacKxStory - 03.02.2012, 00:01
Re: help with (GiveTeamsScore) - by Snipa - 03.02.2012, 00:28
Re: help with (GiveTeamsScore) - by Ballu Miaa - 03.02.2012, 00:34
Re : help with (GiveTeamsScore) - by BlacKxStory - 03.02.2012, 00:42
Re: Re : help with (GiveTeamsScore) - by Ballu Miaa - 03.02.2012, 00:44
Re : help with (GiveTeamsScore) - by BlacKxStory - 03.02.2012, 11:01

Forum Jump:


Users browsing this thread: 5 Guest(s)