How to fix thes errors?
#1

How to fix this errors and warnings?

Код:
E:\sa-mp servers\gamemodes\wwrrp.pwn(605) : error 029: invalid expression, assumed zero
E:\sa-mp servers\gamemodes\wwrrp.pwn(605) : error 029: invalid expression, assumed zero
E:\sa-mp servers\gamemodes\wwrrp.pwn(605) : warning 215: expression has no effect
E:\sa-mp servers\gamemodes\wwrrp.pwn(605) : error 029: invalid expression, assumed zero
E:\sa-mp servers\gamemodes\wwrrp.pwn(605) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Line 605
pawn Код:
if(!TEAM_COP[playerid;)

pawn Код:
if( !strcmp(cmdtext, "/mp", true, 3) ) // 3 is the length of /me
{

    new str[256], pname[256];
    GetPlayerName(playerid, pname, 256);
    format(str, 256, "(Officer %s: %s )", pname, cmdtext[4]);
    SendClientMessageToAll(COLOR_BLUE, str);
  if(!TEAM_COP[playerid;)
  return SendClientMessage(playerid,COLOR_RED,"!!You aren't a cop!!");
}

here are some more errors:

Код:
E:\sa-mp servers\gamemodes\wwrrp.pwn(482) : error 014: invalid statement; not in switch
E:\sa-mp servers\gamemodes\wwrrp.pwn(482) : warning 215: expression has no effect
E:\sa-mp servers\gamemodes\wwrrp.pwn(482) : warning 215: expression has no effect
E:\sa-mp servers\gamemodes\wwrrp.pwn(482) : warning 215: expression has no effect
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
  case 14,15,16;
    {
  //SetPlayerTeamFromClass(playerid, classid);
  GameTextForPlayer(playerid, "~b~POLICE OFFICER~n~~w~CITY OFFICER", 3000, 5);
  SetPlayerInterior(playerid, 3);
  SetPlayerFacingAngle(playerid, 278.0276);
  SetPlayerPos(playerid, 230.5686,165.0502,1003.0234);
  SetPlayerCameraPos( playerid, 233.1806, 163.3041, 1003.6234 );
  SetPlayerCameraLookAt( playerid, 225.1943, 169.3222, 1003.6234 );
  ApplyAnimation(playerid,"POLICE","CopTraf_Stop",4.1,0,1,1,1,1);
    }

  return 1;
}
Reply


Messages In This Thread
How to fix thes errors? - by krisis32 - 12.04.2009, 10:37
Re: How to fix thes errors? - by Sir_Brock - 12.04.2009, 10:54
Re: How to fix thes errors? - by krisis32 - 12.04.2009, 10:59
Re: How to fix thes errors? - by krisis32 - 12.04.2009, 11:00
Re: How to fix thes errors? - by Weirdosport - 12.04.2009, 11:09
Re: How to fix thes errors? - by Google63 - 12.04.2009, 11:34
Re: How to fix thes errors? - by AiVAMAN - 12.04.2009, 12:44
Re: How to fix thes errors? - by krisis32 - 12.04.2009, 12:54
Re: How to fix thes errors? - by AiVAMAN - 12.04.2009, 14:03
Re: How to fix thes errors? - by krisis32 - 12.04.2009, 14:05

Forum Jump:


Users browsing this thread: 1 Guest(s)