Jump to content

Regret

Member
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Regret

  1. I am trying to make a mod that makes you vomit on throwup I have an idea of everything, but my problem is with checking if the player has ate a food item that is (Rotten) or (Uncooked)

    Is there a method that allows me to check that under a boolean? Am I using the constructor wrong? here is my novice code: 

    for playerIndex = 0, getNumActivePlayers() - 1 do
            local player = getSpecificPlayer(playerIndex)
            local food = Eat("Peach (Rotten)")
     
            if food then
                player:Say("I'm gonna be sick")
            end
     
        end
×
×
  • Create New...