"pc.enough_inventory" - ??:(

12/21/2012 13:55 [Strike]#1
Good day.
Immediately apologize for my language, I'm from Russia :D
Can anyone suggest how to check for availability for inventory?
In the example below, I have tried to do this test, but always issued that after "else"
Thanks in advance. :3


Example:
Quote:
when 20094.chat."lol" begin
if pc.enough_inventory() then
say("Aee^^ ")
else
say("Error!")
end
end
end
end

Translation by Google :D
12/21/2012 18:26 Rearz#2
Well I'm sorry but I don't think that there is an command like this. But why do cou need it? If you don't have enough inventory spae, the stuff will drop down on the floor..^^
12/21/2012 18:37 [Strike]#3
That's the point, I need to not fall, for the things that need to be given the huge demand, as well as support them, that they fall to the ground - too easy .. :/
12/21/2012 18:56 CHXMVN#4
pc.get_empty_inventory_count() < x
12/21/2012 21:54 [Strike]#5
Thx!^^