After modifying the code I got rid of the error message however now the problem is that its not printing
Code:
h=7
t=64
if h < 23 then
print("to much food",t,t,0)
end
Info:
h=7 it can be upped by 1 when x is pressed and lowered when z is pressed
if h reaches 23 or 7 it will say at that sprite
Hmmmm, without seeing the rest of the code it's hard to say for sure what's up. Can you post the rest of the code (the _update function where you update h when buttons are pressed would be helpful to see)?
You can use the 3 backtick characters at the start and end of your code in your comment here to format it as code to make it easier to read, like thus:
h=7
t=64
if h < 23 then
print("to much food",t,t,0)
end |
hey sry it took so long heres the link
https://www.lexaloffle.com/bbs/?pid=109853#p
[Please log in to post a comment]



