Need help with team message!
#10

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: }


Reply


Messages In This Thread
Need help with team message! - by kevin433 - 28.12.2007, 18:23
Re: Need help with team message! - by Lewwy - 28.12.2007, 18:33
Re: Need help with team message! - by Larry - 28.12.2007, 18:38
Re: Need help with team message! - by Lewwy - 28.12.2007, 18:44
Re: Need help with team message! - by Grove - 28.12.2007, 18:50
Re: Need help with team message! - by kevin433 - 28.12.2007, 19:09
Re: Need help with team message! - by Grove - 28.12.2007, 19:30
Re: Need help with team message! - by cmg4life - 28.12.2007, 19:40
Re: Need help with team message! - by Lewwy - 28.12.2007, 19:41
Re: Need help with team message! - by kevin433 - 28.12.2007, 20:03

Forum Jump:


Users browsing this thread: 1 Guest(s)