Blad w konsoli

Status
Zamknięty.

handsome555

User
Zarejestrowany
Dołączył
Styczeń 5, 2011
Posty
43
Liczba reakcji
1
Ktos mi powie co to za blad :

blads.png
 
Odp: Blad w konsoli

Zamie? nazw? pliku "depot tiles.lua" na "depottiles.lua"
 
Ostatnia edycja:
Odp: Blad w konsoli

Nie pomoglo. Dokladadniej mowiac nie jest to plik depotfiles tylko depottiles.
Wyskoczylo jeszcze wiecej bledow niz bylo.
 
Odp: Blad w konsoli

Mo?esz pokaza? cze?? skryptu gdzie jest "DoPlayerSendTextMessage" ?
 
Odp: Blad w konsoli

Skrypt:
Kod:
function onStepIn(cid, item, pos)
	if isPlayer(cid) then
		actionid = 101
		if item.actionid > 100 and item.actionid < 125 then
			actionid = item.actionid
		end
		if actionid > 100 then
			if (getTilePzInfo(pos) == TRUE) then
				depotitems = getPlayerDepotItems(cid, actionid - 100)
				if depotitems == 1 then
					doPlayerSendTextMessage(cid, 20, 'Your depot contains 1 item.')
				else
					doPlayerSendTextMessage(cid, 20, 'Your depot contains '.. depotitems ..' items.')
				end
			end
		end
	end
    if item.itemid == 446 or item.itemid == 416 or item.itemid == 3216 then
        doTransformItem(item.uid, item.itemid+1)
    elseif item.itemid == 426 then
        doTransformItem(item.uid, 425)
    end
end
function onStepOut(cid, item, pos)
    if item.itemid == 447 or item.itemid == 417 or item.itemid == 3217 then
        doTransformItem(item.uid, item.itemid-1)
    elseif item.itemid == 425 then
        doTransformItem(item.uid, 426)
    end
end
 
Odp: Blad w konsoli

Skrypt depot tiles.lua wywali? si? na linijce :
LuadoPlayerSendTextMessage(). Nie znaleziono gracza.
 
Odp: Blad w konsoli

Hm... Nie wiem, co ty masz za problem...
Kod:
function onStepIn(cid, item, pos)

	if(isPlayer(cid)) then
		local actionid = 101
		if(item.actionid > 100 and item.actionid < 125) then
			actionid = item.actionid
		end
		if(actionid > 100) then
			if (getTilePzInfo(pos) == TRUE) then
				local depotitems = getPlayerDepotItems(cid, actionid - 100)
				if (depotitems == 1) then
					doPlayerSendTextMessage(cid, 20, 'Your depot contains 1 item.')
				else
					doPlayerSendTextMessage(cid, 20, 'Your depot contains '..depotitems..' items.')
				end
			end
		end
	end
	
    if(item.itemid == 446 or item.itemid == 416 or item.itemid == 3216) then
        doTransformItem(item.uid, item.itemid+1)
    elseif item.itemid == 426 then
        doTransformItem(item.uid, 425)
    end
	
end

function onStepOut(cid, item, pos)
    if item.itemid == 447 or item.itemid == 417 or item.itemid == 3217 then
        doTransformItem(item.uid, item.itemid-1)
    elseif item.itemid == 425 then
        doTransformItem(item.uid, 426)
    end
end

Jak to Ci nie dzia?a, to z jakiej wersji silnika dok?adnie korzystasz?
 
Odp: Blad w konsoli

korzystam z server by aciek 8.1
Jak to pomoze to dam ss :
beztytuufjt.png
 
Status
Zamknięty.
Back
Do góry