Code:
on inventory click:
if inventory name is ":offset_-8::withdraw_lolam:":
cancel event
if event-inventory is not player's inventory:
if clicked slot is 41 or 42:
play sound "BLOCK_NOTE_BLOCK_BIT" with volume 1 and pitch 2 at player
if number of all air slots in player's inventory is not smaller than ceil({coin} / 64) + ceil({bill} / 64) + ceil({bundle_of_bills} / 64):
(error: inventory of the player is not a world)
if number of all air slots in player's inventory is not smaller than ceil({coin} / 64) + ceil({bill} / 64) + ceil({bundle_of_bills} / 64):
i don't know why this isn't worked
what's the error mean?
help....
Last edited: