SA-MP Forums Archive
4 Errors in one line - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: 4 Errors in one line (/showthread.php?tid=288944)



4 Errors in one line - Ehab1911 - 09.10.2011

pawn Код:
D:\asdasdasd\pawno\include\E_VehicleStreamer.inc(68) : warning 202: number of arguments does not match definition
D:\asdasdasd\pawno\include\E_VehicleStreamer.inc(68) : error 001: expected token: ",", but found "["
D:\asdasdasd\pawno\include\E_VehicleStreamer.inc(68) : error 029: invalid expression, assumed zero
D:\asdasdasd\pawno\include\E_VehicleStreamer.inc(68) : warning 215: expression has no effect
D:\asdasdasd\pawno\include\E_VehicleStreamer.inc(68) : error 001: expected token: ";", but found "]"
D:\asdasdasd\pawno\include\E_VehicleStreamer.inc(68) : fatal error 107: too many error messages on one line

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


4 Errors.
Line 68:

pawn Код:
DestroyVehicle(playerid, VehicleInfo[vehicleid][vmodelid][playerid]);



Re: 4 Errors in one line - Crystyan12 - 09.10.2011

tell me line with new VehicleInfo...


Re: 4 Errors in one line - Ehab1911 - 09.10.2011

new VehicleInfo[E_MAX_VEHICLES][vInfo];


Re: 4 Errors in one line - [NoV]LaZ - 09.10.2011

DestroyVehicle only has one argument, which is vehicleid.
pawn Код:
DestroyVehicle(VehicleInfo[vehicleid][vmodelid][playerid]);



Re: 4 Errors in one line - Ehab1911 - 09.10.2011

pawn Код:
D:\asdasdasd\pawno\include\E_VehicleStreamer.inc(69) : error 001: expected token: ",", but found "["
D:\asdasdasd\pawno\include\E_VehicleStreamer.inc(69) : error 029: invalid expression, assumed zero
D:\asdasdasd\pawno\include\E_VehicleStreamer.inc(69) : warning 215: expression has no effect
D:\asdasdasd\pawno\include\E_VehicleStreamer.inc(69) : error 001: expected token: ";", but found "]"
D:\asdasdasd\pawno\include\E_VehicleStreamer.inc(69) : fatal error 107: too many error messages on one line

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


4 Errors.



Re: 4 Errors in one line - Crystyan12 - 09.10.2011

try this way

pawn Код:
DestroyVehicle(VehicleInfo[vehicleid][vmodelid]);
but where use this function? in command?


Re: 4 Errors in one line - Ehab1911 - 09.10.2011

Great! That's awesome. Thank you my friend!


Re: 4 Errors in one line - Crystyan12 - 09.10.2011

Quote:
Originally Posted by Ehab1911
Посмотреть сообщение
Great! That's awesome. Thank you my friend!
for more informations look here