[POMOC]Errori

Započeo hood9, April 10, 2011, 09:52:41 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:od 0
Detaljan opis problema:Pomoc oko ovih errora ubacaivao sam dosta stvari
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno):


C:\Users\USER\Desktop\heh.pwn(2837) : error 017: undefined symbol "GetVehicleName"
C:\Users\USER\Desktop\heh.pwn(2837) : warning 202: number of arguments does not match definition
C:\Users\USER\Desktop\heh.pwn(2848) : error 004: function "IsAnOwnableCar" is not implemented
C:\Users\USER\Desktop\heh.pwn(2850) : error 028: invalid subscript (not an array or too many subscripts): "CarInfo"
C:\Users\USER\Desktop\heh.pwn(2850) : warning 215: expression has no effect
C:\Users\USER\Desktop\heh.pwn(2850) : error 001: expected token: ";", but found "]"
C:\Users\USER\Desktop\heh.pwn(2850) : error 029: invalid expression, assumed zero
C:\Users\USER\Desktop\heh.pwn(2850) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.

dragan12

Daj linije    2837   2848   2850

 2837

GetVehicleName(vehicleid, vehicle, sizeof(vehicle));

2848

if(IsAnOwnableCar(vehicleid))

2850

format(string,sizeof(string),""CRVENA"[Osobno Vozilo]"SIVA" %s [%d] | "CRVENA"Vlasnik"SIVA": %s",vehicle, vehicleid, CarInfo[vehicleid][cOwner]);


a eo to sve


public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new string[128];
new vehicle[24];
GetVehicleName(vehicleid, vehicle, sizeof(vehicle));
for(new i=0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(Spectate[i] != 255)
{
    PlayerSpectateVehicle(i,vehicleid);
}
}
}
if(IsAnOwnableCar(vehicleid))
{
    format(string,sizeof(string),""CRVENA"[Osobno Vozilo]"SIVA" %s [%d] | "CRVENA"Vlasnik"SIVA": %s",vehicle, vehicleid, CarInfo[vehicleid][cOwner]);
SendClientMessage(playerid, -1, string);
RemovePlayerFromVehicle(playerid);
}
if(gTeam[playerid] >= 3)
{
if (IsAPolicijaAuto(vehicleid) && !ispassenger)
{
if(PlayerInfo[playerid][pLeader]==1||PlayerInfo[playerid][pLeader]==2||PlayerInfo[playerid][pLeader]==3) {}
    else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Kradja policaskog vozila"); }
  }
if (IsABolnicavozilo(vehicleid) && !ispassenger)
{
    if(PlayerInfo[playerid][pMember]==4||PlayerInfo[playerid][pLeader]==4) { }
    else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Kradja bolnickog vozila"); }
}
}
return 1;
}