HELP 4 ERRORS
#1

Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{

    new Float:Poz[3]; GetPlayerPos(playerid, Poz[0], Poz[1], Poz[2]);
 ---------------------------------------------------line 5660----------------  if(tim1(vehicleid))
		{
			if(pInfor[playerid][Clan] != 1)
			{
				SetPlayerPos(playerid, Poz[0], Poz[1], Poz[2]);
				GameTextForPlayer(playerid, "~r~Be special squad ~n~to drive this car", 2500, 5);
			}
		}
  	if(tim1(vehicleid))
       	{
        if(pInfor[playerid][Clan] != 2)
        {
        	{
		         SetPlayerPos(playerid, Poz[0], Poz[1], Poz[2]);
		         GameTextForPlayer(playerid, "~r~Be special killer ~n~to drive this car", 2500, 5);
           	}
       	}
   return 1;
}
}
Код:
D:\Documents and Settings\mijata_2.XPSP3-WBB\Desktop\CvTReal.pwn(5660) : error 012: invalid function call, not a valid address
D:\Documents and Settings\mijata_2.XPSP3-WBB\Desktop\CvTReal.pwn(5660) : warning 215: expression has no effect
D:\Documents and Settings\mijata_2.XPSP3-WBB\Desktop\CvTReal.pwn(5660) : error 001: expected token: ";", but found ")"
D:\Documents and Settings\mijata_2.XPSP3-WBB\Desktop\CvTReal.pwn(5660) : error 029: invalid expression, assumed zero
D:\Documents and Settings\mijata_2.XPSP3-WBB\Desktop\CvTReal.pwn(5660) : fatal error 107: too many error messages on one line

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


4 Errors.
Reply


Messages In This Thread
HELP 4 ERRORS - by Mijata - 15.01.2015, 19:11
Re: HELP 4 ERRORS - by xVIP3Rx - 15.01.2015, 19:14
Re: HELP 4 ERRORS - by Mijata - 15.01.2015, 19:19
Re: HELP 4 ERRORS - by xVIP3Rx - 15.01.2015, 19:20
Re: HELP 4 ERRORS - by Mijata - 15.01.2015, 19:22

Forum Jump:


Users browsing this thread: 1 Guest(s)