02.02.2012, 23:26
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.


