15.01.2015, 19:11
Код:
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.


