argument 3 - 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: argument 3 (
/showthread.php?tid=570811)
argument 3 -
Awen - 13.04.2015
Hello, i compiled gamemode and it showed me error 035: argument type mismatch (argument 3)
SS/Core/Vehicle/PlayerVehicle.pwn(166) : error 035: argument type mismatch (argument 3)
Код:
length = modio_read(filepath, _T<A,C,T,V>, 1, data, false, false);
if(length == 1)
{
if(data[0] == 0)
{
d:1:HANDLER("[LoadPlayerVehicle] ERROR: Vehicle set to inactive (file: %s)", filename);
return 0;
SS/Core/Vehicle/PlayerVehicle.pwn(177) : error 035: argument type mismatch (argument 3)
Код:
length = modio_read(filepath, _T<D,A,T,A>, sizeof(data), data, false, false);
if(length == 0)
return 0;
SS/Core/Vehicle/PlayerVehicle.pwn(264) : error 035: argument type mismatch (argument 3)
Код:
length = modio_read(filepath, _T<T,D,A,T>, sizeof(data), data, false, false);
if(length > 0)
SS/Core/Vehicle/PlayerVehicle.pwn(310) : error 035: argument type mismatch (argument 3)
Код:
length = modio_read(filepath, _T<T,T,R,N>, sizeof(vehicle_ItemList), vehicle_ItemList, false, false);
itemlist = ExtractItemList(vehicle_ItemList, length);
itemcount = GetItemListItemCount(itemlist);
SS/Core/Vehicle/PlayerVehicle.pwn(353) : error 035: argument type mismatch (argument 3)
Код:
length = modio_read(filepath, _T<T,R,N,K>, sizeof(vehicle_ItemList), vehicle_ItemList, true);
itemlist = ExtractItemList(vehicle_ItemList, length);
itemcount = GetItemListItemCount(itemlist);
Please help i dont know what to do.
Re: argument 3 -
Awen - 15.04.2015
anyone can help?
Re: argument 3 -
[D]ry[D]esert - 15.04.2015
First one all, put the code in
.
i can understand nothing like this
.
Re: argument 3 -
Awen - 15.04.2015
Quote:
Originally Posted by [D]ry[D]esert
First one all, put the code in .
i can understand nothing like this .
|
Done.
Re: argument 3 -
Crayder - 15.04.2015
Honestly I don't see anything wrong. Maybe you should report it in the modio git.