The errors:
C:\Users\Kevin\Desktop\san andreas server pearl harbor\gamemodes\ph.pwn(373) : error 035: argument type mismatch (argument 2)
C:\Users\Kevin\Desktop\san andreas server pearl harbor\gamemodes\ph.pwn(516) : error 010: invalid function or declaration
C:\Users\Kevin\Desktop\san andreas server pearl harbor\gamemodes\ph.pwn(51

: error 010: invalid function or declaration
C:\Users\Kevin\Desktop\san andreas server pearl harbor\gamemodes\ph.pwn(523) : error 054: unmatched closing brace ("}")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
and the lines:
public OnPlayerDeath(playerid, killerid, reason)
{
SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
line 373: SendAmericaMessage(playerid, COLOR_RED, "[text]");
return 1;
}
line 516:for(new i = 0; i < MAX_PLAYERS; i ++)
{
line 518: if (gTeam[i] == TEAM_AMERICA)
{
SendClientMessage(playerid,COLOR_RED, "Oh no! We lost an American man! Kill the Japaneses!");
}
line 523: }