Thirst = 100 currentcash = 100 function pagadrink_init(e) end -- function pagadrink_main(e) Text(76,86,3,"Cash $"..currentcash) Text(76,90,3,"Thirst "..Thirst) PlayerDist = GetPlayerDistance(e) if PlayerDist < 80 then Prompt ("Presione [E] toar una") if g_KeyPressE == 1 and currentcash >= 100 then Thirst = Thirst + 1000 currentcash = currentcash - 100 elseif PlayerDist < 80 and g_KeyPressE == 1 and currentcash < 100 then Prompt ("Lamentablemente no tienes cash") end end end