argument 3
#1

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.
Reply
#2

anyone can help?
Reply
#3

First one all, put the code in
pawn Код:
your code here
.
i can understand nothing like this .
Reply
#4

Quote:
Originally Posted by [D]ry[D]esert
Посмотреть сообщение
First one all, put the code in
pawn Код:
your code here
.
i can understand nothing like this .
Done.
Reply
#5

Honestly I don't see anything wrong. Maybe you should report it in the modio git.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)